// Lean compiler output
// Module: Lean.Shell
// Imports: import Lean.Elab.Frontend import Lean.Elab.ParseImportsFast import Lean.Server.Watchdog import Lean.Server.FileWorker import Lean.Compiler.IR.EmitC
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_setConfigOption___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__0;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__5_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__1;
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__2;
lean_object* l_IO_eprint___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setExitOnPanic___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_featuresString___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_profiler;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__13_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
uint8_t lean_internal_is_debug(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__10;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static uint32_t l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__0;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initLLVM___boxed(lean_object*);
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_ShellOptions_getProfiler_spec__0(lean_object*, lean_object*);
static uint8_t l___private_Lean_Shell_0__Lean_shellMain___closed__0;
lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2____boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_shellMain_spec__4___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
extern lean_object* l_Lean_githash;
lean_object* l_String_Slice_toNat_x3f(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__29;
lean_object* lean_internal_set_max_heartbeat(size_t);
lean_object* lean_decode_lossy_utf8(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim___redArg(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__6;
static lean_object* l___private_Lean_Shell_0__Lean_setConfigOption___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__2;
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___redArg___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__9_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__3;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2____boxed(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__5;
LEAN_EXPORT lean_object* l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__15;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultOptions___boxed(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_checkOptArg___closed__0;
LEAN_EXPORT lean_object* l_IO_print___at___00IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3_spec__3___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__9;
LEAN_EXPORT uint32_t l___private_Lean_Shell_0__Lean_defaultNumThreads;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__5;
lean_object* l_Lean_Elab_printImports(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__8;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__40;
size_t lean_usize_mul(size_t, size_t);
static lean_object* l___private_Lean_Shell_0__Lean_mkShellOptions___closed__1;
static uint8_t l___private_Lean_Shell_0__Lean_shortVersionString___closed__2;
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__6;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_enableDebug___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getHardwareCurrency___boxed(lean_object*);
lean_object* l_Lean_KVMap_find(lean_object*, lean_object*);
lean_object* l_IO_FS_Stream_lines(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__30;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_String_Slice_trimAscii(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__21;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__38;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultMaxHeartbeat___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_emitLLVM___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__3;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__11;
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__9;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__25;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__26;
static uint8_t l___private_Lean_Shell_0__Lean_shortVersionString___closed__7;
lean_object* l_Lean_moduleNameOfFileName(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__8;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_List_isEmpty___redArg(lean_object*);
LEAN_EXPORT lean_object* l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__29;
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_displayHelp___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultMaxMemory___boxed(lean_object*);
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_Server_FileWorker_workerMain(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__6;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__23;
uint8_t l_String_Slice_beq(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__13;
lean_object* lean_nat_shiftr(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_mkShellOptions___closed__2;
lean_object* l_instToStringString___lam__0___boxed(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__0;
extern uint8_t l_Lean_version_isRelease;
lean_object* lean_string_utf8_byte_size(lean_object*);
lean_object* lean_string_push(lean_object*, uint32_t);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed__const__1;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__27;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__16;
uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*);
lean_object* lean_get_stdout();
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__23;
static lean_object* l___private_Lean_Shell_0__Lean_featuresString___closed__1;
LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__18;
static lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__1;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__14;
size_t lean_usize_of_nat(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__10;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__1;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__20;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___lam__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_decodeLossyUTF8___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion(lean_object*, uint8_t, uint8_t, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__8;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__34;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__15;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getBelieverTrustLevel___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_maxMemory;
static uint8_t l___private_Lean_Shell_0__Lean_displayHelp___closed__36;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_featuresString;
lean_object* l_IO_FS_Stream_readBinToEnd(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3(lean_object*);
static uint8_t l___private_Lean_Shell_0__Lean_versionHeader___closed__5;
uint32_t lean_uint32_of_nat(lean_object*);
lean_object* l_Lean_Language_Lean_setOption(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__35;
LEAN_EXPORT uint32_t l___private_Lean_Shell_0__Lean_defaultTrustLevel;
lean_object* lean_emit_llvm(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__5;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__4;
static uint32_t l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__1;
lean_object* l_Lean_Elab_printImportSrcs(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__0;
LEAN_EXPORT uint8_t lean_shell_options_get_run(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed__const__1;
lean_object* l_Lean_Server_Watchdog_watchdogMain(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_setConfigOption(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_ShellOptions_getProfiler_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_isDebug___boxed(lean_object*);
lean_object* l_Lean_getOptionDecls();
lean_object* lean_array_to_list(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__19;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__7;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__12_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__0;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__7;
lean_object* lean_get_stdin();
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4;
static uint8_t l___private_Lean_Shell_0__Lean_displayHelp___closed__12;
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_shellMain_spec__5___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__27;
LEAN_EXPORT lean_object* lean_shell_options_mk(lean_object*);
uint8_t lean_internal_get_default_verbose(lean_object*);
lean_object* lean_get_stderr();
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___boxed(lean_object*, lean_object*);
lean_object* lean_mk_io_user_error(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed__const__1;
extern lean_object* l_System_Platform_numBits;
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__6;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__9;
lean_object* lean_internal_get_default_max_heartbeat(lean_object*);
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx(uint8_t);
lean_object* lean_io_prim_handle_write(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__7_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__9;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getBuildType___boxed(lean_object*);
lean_object* lean_io_prim_handle_mk(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__10;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim___redArg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__34;
lean_object* l_Lean_ModuleSetup_load(lean_object*);
lean_object* lean_internal_set_max_memory(size_t);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20;
lean_object* lean_internal_get_build_type(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim___redArg___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_hasAddressSanitizer___boxed(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__7;
static lean_object* l___private_Lean_Shell_0__Lean_setConfigOption___closed__1;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__2;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__37;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__37;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__17;
lean_object* lean_internal_get_default_max_memory(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__1;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
static uint32_t l___private_Lean_Shell_0__Lean_defaultNumThreads___closed__0;
uint32_t lean_internal_get_believer_trust_level(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__11;
static lean_object* l___private_Lean_Shell_0__Lean_checkOptArg___closed__1;
lean_object* l_String_Slice_pos_x21(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__26;
lean_object* lean_register_option(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__2;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_runMain___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim___redArg(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_displayCumulativeProfilingTimes___boxed(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__25;
LEAN_EXPORT lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2(lean_object*, lean_object*);
lean_object* l_Lean_Elab_runFrontend(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*);
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setThreadStackSize___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__10;
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__7;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__19;
lean_object* lean_internal_set_thread_stack_size(size_t);
lean_object* lean_internal_set_exit_on_panic(uint8_t);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___lam__0___boxed(lean_object*);
lean_object* l_Lean_getBuildDir();
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed__const__1;
lean_object* lean_load_plugin(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__35;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_getRun___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2____boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_checkOptArg(lean_object*, lean_object*);
lean_object* lean_nat_pow(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___lam__0(lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__4;
LEAN_EXPORT lean_object* lean_shell_options_process(lean_object*, uint32_t, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* lean_shell_main(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultVerbose___boxed(lean_object*);
uint32_t lean_run_main(lean_object*, lean_object*, lean_object*);
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_timeout;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__18;
lean_object* l_String_Slice_toString(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__24;
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__3;
static lean_object* l___private_Lean_Shell_0__Lean_versionHeader___closed__3;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__31;
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_shellMain_spec__4(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_init_llvm();
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__22;
lean_object* lean_string_to_utf8(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setMaxHeartbeat___boxed(lean_object*, lean_object*);
lean_object* lean_io_exit(uint8_t);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_displayHelp(uint8_t);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__8_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
lean_object* l_String_toName(lean_object*);
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_shellMain_spec__5(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__5;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_mkShellOptions___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed(lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* lean_nat_mul(lean_object*, lean_object*);
lean_object* l_Lean_KVMap_insert(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__10_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
lean_object* l_String_Slice_toName(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_verbose;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
extern lean_object* l_Lean_versionStringCore;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__22;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_isMultiThread___boxed(lean_object*);
uint8_t lean_string_memcmp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_checkOptArg___boxed(lean_object*, lean_object*, lean_object*);
static uint8_t l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
LEAN_EXPORT uint8_t lean_shell_options_get_profiler(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__8;
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3___boxed(lean_object*, lean_object*);
lean_object* lean_array_mk(lean_object*);
LEAN_EXPORT lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__28;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim___redArg(lean_object*);
uint8_t lean_internal_has_llvm_backend(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_display_cumulative_profiling_times();
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg(uint8_t, uint8_t);
uint8_t lean_internal_has_address_sanitizer(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__0;
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__4;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__1;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6;
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim___redArg(lean_object*);
lean_object* lean_io_error_to_string(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__1;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
lean_object* l_Lean_Name_mkStr1(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shortVersionString;
uint32_t lean_uint32_add(uint32_t, uint32_t);
lean_object* l_IO_FS_Stream_putStrLn(lean_object*, lean_object*);
lean_object* lean_internal_get_default_options(lean_object*);
LEAN_EXPORT lean_object* l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__12;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__33;
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_internal_is_multi_thread(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim___redArg___boxed(lean_object*);
lean_object* lean_internal_enable_debug(lean_object*);
lean_object* lean_load_dynlib(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_toCtorIdx(uint8_t);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__32;
lean_object* l_Lean_profileitIOUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0(lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1(lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__0;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__11;
static uint8_t l___private_Lean_Shell_0__Lean_featuresString___closed__0;
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___redArg(lean_object*);
lean_object* l_IO_FS_readBinFile(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_getNumThreads___boxed(lean_object*);
LEAN_EXPORT lean_object* l_IO_print___at___00IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3_spec__3(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__6_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
extern lean_object* l_System_Platform_target;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim___redArg___boxed(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__14;
lean_object* l_Lean_getLibDir(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__32;
extern lean_object* l_Lean_version_specialDesc;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__28;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_printImportsJson(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__0;
static lean_object* l___private_Lean_Shell_0__Lean_shortVersionString___closed__3;
static lean_object* l___private_Lean_Shell_0__Lean_shellMain___closed__4;
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__39;
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_toCtorIdx___boxed(lean_object*);
LEAN_EXPORT uint32_t lean_shell_options_get_num_threads(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__33;
uint32_t lean_internal_get_hardware_concurrency(lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_displayHelp___closed__31;
static uint8_t l___private_Lean_Shell_0__Lean_versionHeader___closed__8;
lean_object* l_Lean_IR_emitC(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_versionHeader;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setMaxMemory___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_decodeLossyUTF8___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_decode_lossy_utf8(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_runMain___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint32_t x_5; lean_object* x_6; 
x_5 = lean_run_main(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
x_6 = lean_box_uint32(x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initLLVM___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_init_llvm();
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_emitLLVM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_emit_llvm(x_1, x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_displayCumulativeProfilingTimes___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_display_cumulative_profiling_times();
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_hasAddressSanitizer___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_internal_has_address_sanitizer(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_isMultiThread___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_internal_is_multi_thread(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_isDebug___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_internal_is_debug(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getBuildType___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_internal_get_build_type(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultMaxMemory___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_internal_get_default_max_memory(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setMaxMemory___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
size_t x_3; lean_object* x_4; 
x_3 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_4 = lean_internal_set_max_memory(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultMaxHeartbeat___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_internal_get_default_max_heartbeat(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setMaxHeartbeat___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
size_t x_3; lean_object* x_4; 
x_3 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_4 = lean_internal_set_max_heartbeat(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultVerbose___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_internal_get_default_verbose(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setExitOnPanic___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_unbox(x_1);
x_4 = lean_internal_set_exit_on_panic(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_setThreadStackSize___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
size_t x_3; lean_object* x_4; 
x_3 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_4 = lean_internal_set_thread_stack_size(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_enableDebug___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_internal_enable_debug(x_1);
lean_dec_ref(x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_version_specialDesc;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__1;
x_2 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__0;
x_3 = lean_string_dec_eq(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_versionStringCore;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__4;
x_2 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__0;
x_2 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__5;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__7() {
_start:
{
uint8_t x_1; 
x_1 = l_Lean_version_isRelease;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-pre", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__8;
x_2 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shortVersionString() {
_start:
{
uint8_t x_1; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__2;
if (x_1 == 0)
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__6;
return x_2;
}
else
{
uint8_t x_3; 
x_3 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__7;
if (x_3 == 0)
{
lean_object* x_4; 
x_4 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__9;
return x_4;
}
else
{
lean_object* x_5; 
x_5 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__3;
return x_5;
}
}
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean (version ", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(", ", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_get_build_type(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(")", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_githash;
return x_1;
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__1;
x_2 = l___private_Lean_Shell_0__Lean_versionHeader___closed__4;
x_3 = lean_string_dec_eq(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(", commit ", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = l_System_Platform_target;
return x_1;
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__1;
x_2 = l___private_Lean_Shell_0__Lean_versionHeader___closed__7;
x_3 = lean_string_dec_eq(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_versionHeader___closed__1;
x_2 = l___private_Lean_Shell_0__Lean_shortVersionString;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_versionHeader___closed__7;
x_2 = l___private_Lean_Shell_0__Lean_versionHeader___closed__9;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_versionHeader() {
_start:
{
lean_object* x_1; lean_object* x_11; lean_object* x_18; uint8_t x_19; 
x_18 = l___private_Lean_Shell_0__Lean_shortVersionString;
x_19 = l___private_Lean_Shell_0__Lean_versionHeader___closed__8;
if (x_19 == 0)
{
lean_object* x_20; 
x_20 = l___private_Lean_Shell_0__Lean_versionHeader___closed__10;
x_11 = x_20;
goto block_17;
}
else
{
x_11 = x_18;
goto block_17;
}
block_10:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_2 = l___private_Lean_Shell_0__Lean_versionHeader___closed__0;
x_3 = lean_string_append(x_2, x_1);
lean_dec_ref(x_1);
x_4 = l___private_Lean_Shell_0__Lean_versionHeader___closed__1;
x_5 = lean_string_append(x_3, x_4);
x_6 = l___private_Lean_Shell_0__Lean_versionHeader___closed__2;
x_7 = lean_string_append(x_5, x_6);
x_8 = l___private_Lean_Shell_0__Lean_versionHeader___closed__3;
x_9 = lean_string_append(x_7, x_8);
return x_9;
}
block_17:
{
lean_object* x_12; uint8_t x_13; 
x_12 = l___private_Lean_Shell_0__Lean_versionHeader___closed__4;
x_13 = l___private_Lean_Shell_0__Lean_versionHeader___closed__5;
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_14 = l___private_Lean_Shell_0__Lean_versionHeader___closed__6;
x_15 = lean_string_append(x_11, x_14);
x_16 = lean_string_append(x_15, x_12);
x_1 = x_16;
goto block_10;
}
else
{
x_1 = x_11;
goto block_10;
}
}
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_featuresString___closed__0() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_has_llvm_backend(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_featuresString___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[]", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_featuresString___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[LLVM]", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_featuresString() {
_start:
{
uint8_t x_1; 
x_1 = l___private_Lean_Shell_0__Lean_featuresString___closed__0;
if (x_1 == 0)
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_featuresString___closed__1;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l___private_Lean_Shell_0__Lean_featuresString___closed__2;
return x_3;
}
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      -D name=value      set a configuration option (see set_option command)", 76, 76);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --plugin=file      load and initialize Lean shared library for registering linters etc.", 93, 93);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --load-dynlib=file load shared library to make its symbols available to the interpreter", 93, 93);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --setup=file       JSON file with module setup data (supersedes the file's header)", 88, 88);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --json             report Lean output (e.g., messages) as JSON (one per line)", 83, 83);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -E, --error=kind       report Lean messages of kind as errors", 63, 63);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --deps             just print dependencies of a Lean input", 64, 64);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --src-deps         just print dependency sources of a Lean input", 70, 70);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --print-prefix     print the installation prefix for Lean and exit", 72, 72);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --print-libdir     print the installation directory for Lean's built-in libraries and exit", 96, 96);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --profile          display elaboration/type checking time for each definition/theorem", 91, 91);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --stats            display environment statistics", 55, 55);
return x_1;
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__12() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_is_debug(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --debug=tag        enable assertions with the given tag", 61, 61);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Miscellaneous", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -h, --help             display this message", 45, 45);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --features         display features compiler provides (eg. LLVM support)", 78, 78);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -v, --version          display version information", 52, 52);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -V, --short-version    display short version number", 53, 53);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -g, --githash          display the git commit hash number used to build this binary", 85, 85);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --run <file>       call the 'main' definition in the given file with the remaining arguments", 98, 98);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -o, --o=oname          create olean file", 42, 42);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -i, --i=iname          create ilean file", 42, 42);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -c, --c=fname          name of the C output file", 50, 50);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -b, --bc=fname         name of the LLVM bitcode file", 54, 54);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --stdin            take input from stdin", 46, 46);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -R, --root=dir         set package root directory from which the module name\n", 79, 79);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("                         of the input file is calculated\n", 57, 57);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("                         (default: current working directory)\n", 62, 62);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -t, --trust=num        trust level (default: max) 0 means do not trust any macro,\n", 84, 84);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("                         and type check all imported modules\n", 61, 61);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__31() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -q, --quiet            do not print verbose messages", 54, 54);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__32() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -M, --memory=num       maximum amount of memory that should be used by Lean", 77, 77);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("                         (in megabytes)", 39, 39);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -T, --timeout=num      maximum number of memory allocations per task", 70, 70);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__35() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("                         this is a deterministic way of interrupting long running tasks", 87, 87);
return x_1;
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__36() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_is_multi_thread(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__37() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -j, --threads=num      number of threads used to process lean files", 69, 69);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__38() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("  -s, --tstack=num       thread stack size in Kb", 48, 48);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__39() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --server           start lean in server mode", 50, 50);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__40() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("      --worker           start lean in server-worker mode", 57, 57);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_displayHelp(uint8_t x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_8; lean_object* x_9; lean_object* x_36; lean_object* x_37; 
if (x_1 == 0)
{
lean_object* x_94; 
x_94 = lean_get_stdout();
x_36 = x_94;
x_37 = lean_box(0);
goto block_93;
}
else
{
lean_object* x_95; 
x_95 = lean_get_stderr();
x_36 = x_95;
x_37 = lean_box(0);
goto block_93;
}
block_7:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l___private_Lean_Shell_0__Lean_displayHelp___closed__0;
x_6 = l_IO_FS_Stream_putStrLn(x_3, x_5);
return x_6;
}
block_35:
{
lean_object* x_10; lean_object* x_11; 
x_10 = l___private_Lean_Shell_0__Lean_displayHelp___closed__1;
lean_inc_ref(x_8);
x_11 = l_IO_FS_Stream_putStrLn(x_8, x_10);
if (lean_obj_tag(x_11) == 0)
{
lean_object* x_12; lean_object* x_13; 
lean_dec_ref(x_11);
x_12 = l___private_Lean_Shell_0__Lean_displayHelp___closed__2;
lean_inc_ref(x_8);
x_13 = l_IO_FS_Stream_putStrLn(x_8, x_12);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; lean_object* x_15; 
lean_dec_ref(x_13);
x_14 = l___private_Lean_Shell_0__Lean_displayHelp___closed__3;
lean_inc_ref(x_8);
x_15 = l_IO_FS_Stream_putStrLn(x_8, x_14);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; 
lean_dec_ref(x_15);
x_16 = l___private_Lean_Shell_0__Lean_displayHelp___closed__4;
lean_inc_ref(x_8);
x_17 = l_IO_FS_Stream_putStrLn(x_8, x_16);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; 
lean_dec_ref(x_17);
x_18 = l___private_Lean_Shell_0__Lean_displayHelp___closed__5;
lean_inc_ref(x_8);
x_19 = l_IO_FS_Stream_putStrLn(x_8, x_18);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; 
lean_dec_ref(x_19);
x_20 = l___private_Lean_Shell_0__Lean_displayHelp___closed__6;
lean_inc_ref(x_8);
x_21 = l_IO_FS_Stream_putStrLn(x_8, x_20);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; lean_object* x_23; 
lean_dec_ref(x_21);
x_22 = l___private_Lean_Shell_0__Lean_displayHelp___closed__7;
lean_inc_ref(x_8);
x_23 = l_IO_FS_Stream_putStrLn(x_8, x_22);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; 
lean_dec_ref(x_23);
x_24 = l___private_Lean_Shell_0__Lean_displayHelp___closed__8;
lean_inc_ref(x_8);
x_25 = l_IO_FS_Stream_putStrLn(x_8, x_24);
if (lean_obj_tag(x_25) == 0)
{
lean_object* x_26; lean_object* x_27; 
lean_dec_ref(x_25);
x_26 = l___private_Lean_Shell_0__Lean_displayHelp___closed__9;
lean_inc_ref(x_8);
x_27 = l_IO_FS_Stream_putStrLn(x_8, x_26);
if (lean_obj_tag(x_27) == 0)
{
lean_object* x_28; lean_object* x_29; 
lean_dec_ref(x_27);
x_28 = l___private_Lean_Shell_0__Lean_displayHelp___closed__10;
lean_inc_ref(x_8);
x_29 = l_IO_FS_Stream_putStrLn(x_8, x_28);
if (lean_obj_tag(x_29) == 0)
{
lean_object* x_30; lean_object* x_31; 
lean_dec_ref(x_29);
x_30 = l___private_Lean_Shell_0__Lean_displayHelp___closed__11;
lean_inc_ref(x_8);
x_31 = l_IO_FS_Stream_putStrLn(x_8, x_30);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
lean_dec_ref(x_31);
x_32 = l___private_Lean_Shell_0__Lean_displayHelp___closed__12;
if (x_32 == 0)
{
x_3 = x_8;
x_4 = lean_box(0);
goto block_7;
}
else
{
lean_object* x_33; lean_object* x_34; 
x_33 = l___private_Lean_Shell_0__Lean_displayHelp___closed__13;
lean_inc_ref(x_8);
x_34 = l_IO_FS_Stream_putStrLn(x_8, x_33);
if (lean_obj_tag(x_34) == 0)
{
lean_dec_ref(x_34);
x_3 = x_8;
x_4 = lean_box(0);
goto block_7;
}
else
{
lean_dec_ref(x_8);
return x_34;
}
}
}
else
{
lean_dec_ref(x_8);
return x_31;
}
}
else
{
lean_dec_ref(x_8);
return x_29;
}
}
else
{
lean_dec_ref(x_8);
return x_27;
}
}
else
{
lean_dec_ref(x_8);
return x_25;
}
}
else
{
lean_dec_ref(x_8);
return x_23;
}
}
else
{
lean_dec_ref(x_8);
return x_21;
}
}
else
{
lean_dec_ref(x_8);
return x_19;
}
}
else
{
lean_dec_ref(x_8);
return x_17;
}
}
else
{
lean_dec_ref(x_8);
return x_15;
}
}
else
{
lean_dec_ref(x_8);
return x_13;
}
}
else
{
lean_dec_ref(x_8);
return x_11;
}
}
block_93:
{
lean_object* x_38; lean_object* x_39; 
x_38 = l___private_Lean_Shell_0__Lean_versionHeader;
lean_inc_ref(x_36);
x_39 = l_IO_FS_Stream_putStrLn(x_36, x_38);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40; lean_object* x_41; 
lean_dec_ref(x_39);
x_40 = l___private_Lean_Shell_0__Lean_displayHelp___closed__14;
lean_inc_ref(x_36);
x_41 = l_IO_FS_Stream_putStrLn(x_36, x_40);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; lean_object* x_43; 
lean_dec_ref(x_41);
x_42 = l___private_Lean_Shell_0__Lean_displayHelp___closed__15;
lean_inc_ref(x_36);
x_43 = l_IO_FS_Stream_putStrLn(x_36, x_42);
if (lean_obj_tag(x_43) == 0)
{
lean_object* x_44; lean_object* x_45; 
lean_dec_ref(x_43);
x_44 = l___private_Lean_Shell_0__Lean_displayHelp___closed__16;
lean_inc_ref(x_36);
x_45 = l_IO_FS_Stream_putStrLn(x_36, x_44);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; lean_object* x_47; 
lean_dec_ref(x_45);
x_46 = l___private_Lean_Shell_0__Lean_displayHelp___closed__17;
lean_inc_ref(x_36);
x_47 = l_IO_FS_Stream_putStrLn(x_36, x_46);
if (lean_obj_tag(x_47) == 0)
{
lean_object* x_48; lean_object* x_49; 
lean_dec_ref(x_47);
x_48 = l___private_Lean_Shell_0__Lean_displayHelp___closed__18;
lean_inc_ref(x_36);
x_49 = l_IO_FS_Stream_putStrLn(x_36, x_48);
if (lean_obj_tag(x_49) == 0)
{
lean_object* x_50; lean_object* x_51; 
lean_dec_ref(x_49);
x_50 = l___private_Lean_Shell_0__Lean_displayHelp___closed__19;
lean_inc_ref(x_36);
x_51 = l_IO_FS_Stream_putStrLn(x_36, x_50);
if (lean_obj_tag(x_51) == 0)
{
lean_object* x_52; lean_object* x_53; 
lean_dec_ref(x_51);
x_52 = l___private_Lean_Shell_0__Lean_displayHelp___closed__20;
lean_inc_ref(x_36);
x_53 = l_IO_FS_Stream_putStrLn(x_36, x_52);
if (lean_obj_tag(x_53) == 0)
{
lean_object* x_54; lean_object* x_55; 
lean_dec_ref(x_53);
x_54 = l___private_Lean_Shell_0__Lean_displayHelp___closed__21;
lean_inc_ref(x_36);
x_55 = l_IO_FS_Stream_putStrLn(x_36, x_54);
if (lean_obj_tag(x_55) == 0)
{
lean_object* x_56; lean_object* x_57; 
lean_dec_ref(x_55);
x_56 = l___private_Lean_Shell_0__Lean_displayHelp___closed__22;
lean_inc_ref(x_36);
x_57 = l_IO_FS_Stream_putStrLn(x_36, x_56);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_58; lean_object* x_59; 
lean_dec_ref(x_57);
x_58 = l___private_Lean_Shell_0__Lean_displayHelp___closed__23;
lean_inc_ref(x_36);
x_59 = l_IO_FS_Stream_putStrLn(x_36, x_58);
if (lean_obj_tag(x_59) == 0)
{
lean_object* x_60; lean_object* x_61; 
lean_dec_ref(x_59);
x_60 = l___private_Lean_Shell_0__Lean_displayHelp___closed__24;
lean_inc_ref(x_36);
x_61 = l_IO_FS_Stream_putStrLn(x_36, x_60);
if (lean_obj_tag(x_61) == 0)
{
lean_object* x_62; lean_object* x_63; 
lean_dec_ref(x_61);
x_62 = l___private_Lean_Shell_0__Lean_displayHelp___closed__25;
lean_inc_ref(x_36);
x_63 = l_IO_FS_Stream_putStrLn(x_36, x_62);
if (lean_obj_tag(x_63) == 0)
{
lean_object* x_64; lean_object* x_65; 
lean_dec_ref(x_63);
x_64 = l___private_Lean_Shell_0__Lean_displayHelp___closed__26;
lean_inc_ref(x_36);
x_65 = l_IO_FS_Stream_putStrLn(x_36, x_64);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_66; lean_object* x_67; 
lean_dec_ref(x_65);
x_66 = l___private_Lean_Shell_0__Lean_displayHelp___closed__27;
lean_inc_ref(x_36);
x_67 = l_IO_FS_Stream_putStrLn(x_36, x_66);
if (lean_obj_tag(x_67) == 0)
{
lean_object* x_68; lean_object* x_69; 
lean_dec_ref(x_67);
x_68 = l___private_Lean_Shell_0__Lean_displayHelp___closed__28;
lean_inc_ref(x_36);
x_69 = l_IO_FS_Stream_putStrLn(x_36, x_68);
if (lean_obj_tag(x_69) == 0)
{
lean_object* x_70; lean_object* x_71; 
lean_dec_ref(x_69);
x_70 = l___private_Lean_Shell_0__Lean_displayHelp___closed__29;
lean_inc_ref(x_36);
x_71 = l_IO_FS_Stream_putStrLn(x_36, x_70);
if (lean_obj_tag(x_71) == 0)
{
lean_object* x_72; lean_object* x_73; 
lean_dec_ref(x_71);
x_72 = l___private_Lean_Shell_0__Lean_displayHelp___closed__30;
lean_inc_ref(x_36);
x_73 = l_IO_FS_Stream_putStrLn(x_36, x_72);
if (lean_obj_tag(x_73) == 0)
{
lean_object* x_74; lean_object* x_75; 
lean_dec_ref(x_73);
x_74 = l___private_Lean_Shell_0__Lean_displayHelp___closed__31;
lean_inc_ref(x_36);
x_75 = l_IO_FS_Stream_putStrLn(x_36, x_74);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; lean_object* x_77; 
lean_dec_ref(x_75);
x_76 = l___private_Lean_Shell_0__Lean_displayHelp___closed__32;
lean_inc_ref(x_36);
x_77 = l_IO_FS_Stream_putStrLn(x_36, x_76);
if (lean_obj_tag(x_77) == 0)
{
lean_object* x_78; lean_object* x_79; 
lean_dec_ref(x_77);
x_78 = l___private_Lean_Shell_0__Lean_displayHelp___closed__33;
lean_inc_ref(x_36);
x_79 = l_IO_FS_Stream_putStrLn(x_36, x_78);
if (lean_obj_tag(x_79) == 0)
{
lean_object* x_80; lean_object* x_81; 
lean_dec_ref(x_79);
x_80 = l___private_Lean_Shell_0__Lean_displayHelp___closed__34;
lean_inc_ref(x_36);
x_81 = l_IO_FS_Stream_putStrLn(x_36, x_80);
if (lean_obj_tag(x_81) == 0)
{
lean_object* x_82; lean_object* x_83; 
lean_dec_ref(x_81);
x_82 = l___private_Lean_Shell_0__Lean_displayHelp___closed__35;
lean_inc_ref(x_36);
x_83 = l_IO_FS_Stream_putStrLn(x_36, x_82);
if (lean_obj_tag(x_83) == 0)
{
uint8_t x_84; 
lean_dec_ref(x_83);
x_84 = l___private_Lean_Shell_0__Lean_displayHelp___closed__36;
if (x_84 == 0)
{
x_8 = x_36;
x_9 = lean_box(0);
goto block_35;
}
else
{
lean_object* x_85; lean_object* x_86; 
x_85 = l___private_Lean_Shell_0__Lean_displayHelp___closed__37;
lean_inc_ref(x_36);
x_86 = l_IO_FS_Stream_putStrLn(x_36, x_85);
if (lean_obj_tag(x_86) == 0)
{
lean_object* x_87; lean_object* x_88; 
lean_dec_ref(x_86);
x_87 = l___private_Lean_Shell_0__Lean_displayHelp___closed__38;
lean_inc_ref(x_36);
x_88 = l_IO_FS_Stream_putStrLn(x_36, x_87);
if (lean_obj_tag(x_88) == 0)
{
lean_object* x_89; lean_object* x_90; 
lean_dec_ref(x_88);
x_89 = l___private_Lean_Shell_0__Lean_displayHelp___closed__39;
lean_inc_ref(x_36);
x_90 = l_IO_FS_Stream_putStrLn(x_36, x_89);
if (lean_obj_tag(x_90) == 0)
{
lean_object* x_91; lean_object* x_92; 
lean_dec_ref(x_90);
x_91 = l___private_Lean_Shell_0__Lean_displayHelp___closed__40;
lean_inc_ref(x_36);
x_92 = l_IO_FS_Stream_putStrLn(x_36, x_91);
if (lean_obj_tag(x_92) == 0)
{
lean_dec_ref(x_92);
x_8 = x_36;
x_9 = lean_box(0);
goto block_35;
}
else
{
lean_dec_ref(x_36);
return x_92;
}
}
else
{
lean_dec_ref(x_36);
return x_90;
}
}
else
{
lean_dec_ref(x_36);
return x_88;
}
}
else
{
lean_dec_ref(x_36);
return x_86;
}
}
}
else
{
lean_dec_ref(x_36);
return x_83;
}
}
else
{
lean_dec_ref(x_36);
return x_81;
}
}
else
{
lean_dec_ref(x_36);
return x_79;
}
}
else
{
lean_dec_ref(x_36);
return x_77;
}
}
else
{
lean_dec_ref(x_36);
return x_75;
}
}
else
{
lean_dec_ref(x_36);
return x_73;
}
}
else
{
lean_dec_ref(x_36);
return x_71;
}
}
else
{
lean_dec_ref(x_36);
return x_69;
}
}
else
{
lean_dec_ref(x_36);
return x_67;
}
}
else
{
lean_dec_ref(x_36);
return x_65;
}
}
else
{
lean_dec_ref(x_36);
return x_63;
}
}
else
{
lean_dec_ref(x_36);
return x_61;
}
}
else
{
lean_dec_ref(x_36);
return x_59;
}
}
else
{
lean_dec_ref(x_36);
return x_57;
}
}
else
{
lean_dec_ref(x_36);
return x_55;
}
}
else
{
lean_dec_ref(x_36);
return x_53;
}
}
else
{
lean_dec_ref(x_36);
return x_51;
}
}
else
{
lean_dec_ref(x_36);
return x_49;
}
}
else
{
lean_dec_ref(x_36);
return x_47;
}
}
else
{
lean_dec_ref(x_36);
return x_45;
}
}
else
{
lean_dec_ref(x_36);
return x_43;
}
}
else
{
lean_dec_ref(x_36);
return x_41;
}
}
else
{
lean_dec_ref(x_36);
return x_39;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_displayHelp___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_unbox(x_1);
x_4 = l___private_Lean_Shell_0__Lean_displayHelp(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx(uint8_t x_1) {
_start:
{
switch (x_1) {
case 0:
{
lean_object* x_2; 
x_2 = lean_unsigned_to_nat(0u);
return x_2;
}
case 1:
{
lean_object* x_3; 
x_3 = lean_unsigned_to_nat(1u);
return x_3;
}
default: 
{
lean_object* x_4; 
x_4 = lean_unsigned_to_nat(2u);
return x_4;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
x_3 = l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_toCtorIdx(uint8_t x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_toCtorIdx___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
x_3 = l___private_Lean_Shell_0__Lean_ShellComponent_toCtorIdx(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_inc(x_5);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim___redArg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = lean_unbox(x_3);
x_7 = l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim(x_1, x_2, x_6, x_4, x_5);
lean_dec(x_5);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_ShellComponent_ctorElim___redArg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_inc(x_4);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim___redArg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_2);
x_6 = l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim(x_1, x_5, x_3, x_4);
lean_dec(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_ShellComponent_frontend_elim___redArg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_inc(x_4);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim___redArg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_2);
x_6 = l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim(x_1, x_5, x_3, x_4);
lean_dec(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_ShellComponent_watchdog_elim___redArg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_inc(x_4);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim___redArg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_2);
x_6 = l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim(x_1, x_5, x_3, x_4);
lean_dec(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_ShellComponent_worker_elim___redArg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___lam__0(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___lam__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___lam__0(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg(uint8_t x_1, uint8_t x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; 
x_3 = l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx(x_1);
x_4 = l___private_Lean_Shell_0__Lean_ShellComponent_ctorIdx(x_2);
x_5 = lean_nat_dec_eq(x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
x_6 = lean_alloc_closure((void*)(l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___lam__0___boxed), 1, 0);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg(x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; uint8_t x_6; lean_object* x_7; 
x_5 = lean_unbox(x_2);
x_6 = lean_unbox(x_3);
x_7 = l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion(x_1, x_5, x_6, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; uint8_t x_4; lean_object* x_5; 
x_3 = lean_unbox(x_1);
x_4 = lean_unbox(x_2);
x_5 = l___private_Lean_Shell_0__Lean_ShellComponent_noConfusion___redArg(x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_2);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_6 = lean_ctor_get(x_2, 0);
x_7 = lean_ctor_get(x_2, 1);
lean_inc(x_6);
x_8 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_8, 0, x_6);
lean_inc(x_1);
x_9 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_9, 0, x_1);
lean_ctor_set(x_9, 1, x_3);
lean_ctor_set(x_9, 2, x_8);
lean_ctor_set(x_9, 3, x_7);
lean_inc(x_1);
x_10 = lean_register_option(x_1, x_9);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; 
x_12 = lean_ctor_get(x_10, 0);
lean_dec(x_12);
lean_ctor_set(x_2, 1, x_6);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_10, 0, x_2);
return x_10;
}
else
{
lean_object* x_13; 
lean_dec(x_10);
lean_ctor_set(x_2, 1, x_6);
lean_ctor_set(x_2, 0, x_1);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_2);
return x_13;
}
}
else
{
uint8_t x_14; 
lean_free_object(x_2);
lean_dec(x_6);
lean_dec(x_1);
x_14 = !lean_is_exclusive(x_10);
if (x_14 == 0)
{
return x_10;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_10, 0);
lean_inc(x_15);
lean_dec(x_10);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_17 = lean_ctor_get(x_2, 0);
x_18 = lean_ctor_get(x_2, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_2);
lean_inc(x_17);
x_19 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_19, 0, x_17);
lean_inc(x_1);
x_20 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_20, 0, x_1);
lean_ctor_set(x_20, 1, x_3);
lean_ctor_set(x_20, 2, x_19);
lean_ctor_set(x_20, 3, x_18);
lean_inc(x_1);
x_21 = lean_register_option(x_1, x_20);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
if (lean_is_exclusive(x_21)) {
 lean_ctor_release(x_21, 0);
 x_22 = x_21;
} else {
 lean_dec_ref(x_21);
 x_22 = lean_box(0);
}
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_1);
lean_ctor_set(x_23, 1, x_17);
if (lean_is_scalar(x_22)) {
 x_24 = lean_alloc_ctor(0, 1, 0);
} else {
 x_24 = x_22;
}
lean_ctor_set(x_24, 0, x_23);
return x_24;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_dec(x_17);
lean_dec(x_1);
x_25 = lean_ctor_get(x_21, 0);
lean_inc(x_25);
if (lean_is_exclusive(x_21)) {
 lean_ctor_release(x_21, 0);
 x_26 = x_21;
} else {
 lean_dec_ref(x_21);
 x_26 = lean_box(0);
}
if (lean_is_scalar(x_26)) {
 x_27 = lean_alloc_ctor(1, 1, 0);
} else {
 x_27 = x_26;
}
lean_ctor_set(x_27, 0, x_25);
return x_27;
}
}
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("max_memory", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_get_default_max_memory(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__1;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_private", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__5_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_2 = lean_box(0);
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__6_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__7_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__6_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__5_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__8_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Shell", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__9_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__8_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__7_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__10_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__9_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l_Lean_Name_num___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__6_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__10_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__12_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("maxMemory", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__13_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__12_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_4 = l___private_Lean_Shell_0__Lean_initFn___closed__13_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_5 = l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2__spec__0(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2__spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2__spec__0(x_1, x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("timeout", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_get_default_max_heartbeat(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__1;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
x_3 = l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
x_4 = l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_;
x_5 = l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2__spec__0(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_2);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; 
x_6 = lean_ctor_get(x_2, 0);
x_7 = lean_ctor_get(x_2, 1);
x_8 = lean_alloc_ctor(1, 0, 1);
x_9 = lean_unbox(x_6);
lean_ctor_set_uint8(x_8, 0, x_9);
lean_inc(x_1);
x_10 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_10, 0, x_1);
lean_ctor_set(x_10, 1, x_3);
lean_ctor_set(x_10, 2, x_8);
lean_ctor_set(x_10, 3, x_7);
lean_inc(x_1);
x_11 = lean_register_option(x_1, x_10);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
lean_object* x_13; 
x_13 = lean_ctor_get(x_11, 0);
lean_dec(x_13);
lean_ctor_set(x_2, 1, x_6);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_11, 0, x_2);
return x_11;
}
else
{
lean_object* x_14; 
lean_dec(x_11);
lean_ctor_set(x_2, 1, x_6);
lean_ctor_set(x_2, 0, x_1);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_2);
return x_14;
}
}
else
{
uint8_t x_15; 
lean_free_object(x_2);
lean_dec(x_6);
lean_dec(x_1);
x_15 = !lean_is_exclusive(x_11);
if (x_15 == 0)
{
return x_11;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_11, 0);
lean_inc(x_16);
lean_dec(x_11);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; 
x_18 = lean_ctor_get(x_2, 0);
x_19 = lean_ctor_get(x_2, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_2);
x_20 = lean_alloc_ctor(1, 0, 1);
x_21 = lean_unbox(x_18);
lean_ctor_set_uint8(x_20, 0, x_21);
lean_inc(x_1);
x_22 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_22, 0, x_1);
lean_ctor_set(x_22, 1, x_3);
lean_ctor_set(x_22, 2, x_20);
lean_ctor_set(x_22, 3, x_19);
lean_inc(x_1);
x_23 = lean_register_option(x_1, x_22);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 x_24 = x_23;
} else {
 lean_dec_ref(x_23);
 x_24 = lean_box(0);
}
x_25 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_25, 0, x_1);
lean_ctor_set(x_25, 1, x_18);
if (lean_is_scalar(x_24)) {
 x_26 = lean_alloc_ctor(0, 1, 0);
} else {
 x_26 = x_24;
}
lean_ctor_set(x_26, 0, x_25);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; 
lean_dec(x_18);
lean_dec(x_1);
x_27 = lean_ctor_get(x_23, 0);
lean_inc(x_27);
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 x_28 = x_23;
} else {
 lean_dec_ref(x_23);
 x_28 = lean_box(0);
}
if (lean_is_scalar(x_28)) {
 x_29 = lean_alloc_ctor(1, 1, 0);
} else {
 x_29 = x_28;
}
lean_ctor_set(x_29, 0, x_27);
return x_29;
}
}
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("verbose", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_get_default_verbose(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lean_Shell_0__Lean_shortVersionString___closed__1;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
x_3 = lean_box(x_2);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
x_3 = l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
x_4 = l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_;
x_5 = l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2__spec__0(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2__spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Option_register___at___00__private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2__spec__0(x_1, x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getDefaultOptions___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_internal_get_default_options(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getBelieverTrustLevel___boxed(lean_object* x_1) {
_start:
{
uint32_t x_2; lean_object* x_3; 
x_2 = lean_internal_get_believer_trust_level(x_1);
x_3 = lean_box_uint32(x_2);
return x_3;
}
}
static uint32_t _init_l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__0() {
_start:
{
lean_object* x_1; uint32_t x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_get_believer_trust_level(x_1);
return x_2;
}
}
static uint32_t _init_l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__1() {
_start:
{
uint32_t x_1; uint32_t x_2; uint32_t x_3; 
x_1 = 1;
x_2 = l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__0;
x_3 = lean_uint32_add(x_2, x_1);
return x_3;
}
}
static uint32_t _init_l___private_Lean_Shell_0__Lean_defaultTrustLevel() {
_start:
{
uint32_t x_1; 
x_1 = l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_Internal_getHardwareCurrency___boxed(lean_object* x_1) {
_start:
{
uint32_t x_2; lean_object* x_3; 
x_2 = lean_internal_get_hardware_concurrency(x_1);
x_3 = lean_box_uint32(x_2);
return x_3;
}
}
static uint32_t _init_l___private_Lean_Shell_0__Lean_defaultNumThreads___closed__0() {
_start:
{
lean_object* x_1; uint32_t x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_get_hardware_concurrency(x_1);
return x_2;
}
}
static uint32_t _init_l___private_Lean_Shell_0__Lean_defaultNumThreads() {
_start:
{
uint8_t x_1; 
x_1 = l___private_Lean_Shell_0__Lean_displayHelp___closed__36;
if (x_1 == 0)
{
uint32_t x_2; 
x_2 = 0;
return x_2;
}
else
{
uint32_t x_3; 
x_3 = l___private_Lean_Shell_0__Lean_defaultNumThreads___closed__0;
return x_3;
}
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_mkShellOptions___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_get_default_options(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_mkShellOptions___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_mkShellOptions___closed__2() {
_start:
{
lean_object* x_1; uint32_t x_2; uint32_t x_3; lean_object* x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Shell_0__Lean_defaultNumThreads;
x_3 = l___private_Lean_Shell_0__Lean_defaultTrustLevel;
x_4 = lean_box(0);
x_5 = 0;
x_6 = 0;
x_7 = l___private_Lean_Shell_0__Lean_mkShellOptions___closed__1;
x_8 = l___private_Lean_Shell_0__Lean_mkShellOptions___closed__0;
x_9 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_7);
lean_ctor_set(x_9, 2, x_4);
lean_ctor_set(x_9, 3, x_1);
lean_ctor_set(x_9, 4, x_1);
lean_ctor_set(x_9, 5, x_1);
lean_ctor_set(x_9, 6, x_1);
lean_ctor_set(x_9, 7, x_1);
lean_ctor_set(x_9, 8, x_1);
lean_ctor_set(x_9, 9, x_7);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 8, x_6);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 9, x_5);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 10, x_5);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 11, x_5);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 12, x_5);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 13, x_5);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 14, x_5);
lean_ctor_set_uint32(x_9, sizeof(void*)*10, x_3);
lean_ctor_set_uint32(x_9, sizeof(void*)*10 + 4, x_2);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 15, x_5);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 16, x_5);
lean_ctor_set_uint8(x_9, sizeof(void*)*10 + 17, x_5);
return x_9;
}
}
LEAN_EXPORT lean_object* lean_shell_options_mk(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Shell_0__Lean_mkShellOptions___closed__2;
return x_2;
}
}
LEAN_EXPORT uint8_t lean_shell_options_get_run(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_getRun___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_shell_options_get_run(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_profiler;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_ShellOptions_getProfiler_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = l_Lean_KVMap_find(x_1, x_3);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
x_6 = lean_unbox(x_4);
return x_6;
}
else
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec_ref(x_5);
if (lean_obj_tag(x_7) == 1)
{
uint8_t x_8; 
x_8 = lean_ctor_get_uint8(x_7, 0);
lean_dec_ref(x_7);
return x_8;
}
else
{
uint8_t x_9; 
lean_dec(x_7);
x_9 = lean_unbox(x_4);
return x_9;
}
}
}
}
LEAN_EXPORT uint8_t lean_shell_options_get_profiler(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
lean_dec_ref(x_1);
x_3 = l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0;
x_4 = l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_ShellOptions_getProfiler_spec__0(x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_shell_options_get_profiler(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_ShellOptions_getProfiler_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_ShellOptions_getProfiler_spec__0(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT uint32_t lean_shell_options_get_num_threads(lean_object* x_1) {
_start:
{
uint32_t x_2; 
x_2 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_getNumThreads___boxed(lean_object* x_1) {
_start:
{
uint32_t x_2; lean_object* x_3; 
x_2 = lean_shell_options_get_num_threads(x_1);
x_3 = lean_box_uint32(x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_checkOptArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("argument missing for option '-", 30, 30);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_checkOptArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_checkOptArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 1)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
lean_ctor_set_tag(x_2, 0);
return x_2;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
lean_dec(x_2);
x_7 = l___private_Lean_Shell_0__Lean_checkOptArg___closed__0;
x_8 = lean_string_append(x_7, x_1);
x_9 = l___private_Lean_Shell_0__Lean_checkOptArg___closed__1;
x_10 = lean_string_append(x_8, x_9);
x_11 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_checkOptArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1, x_2);
lean_dec_ref(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_ctor_get(x_1, 2);
x_8 = lean_nat_sub(x_7, x_6);
x_9 = lean_nat_dec_eq(x_3, x_8);
lean_dec(x_8);
if (x_9 == 0)
{
uint32_t x_10; lean_object* x_11; uint32_t x_12; uint8_t x_13; 
x_10 = 61;
x_11 = lean_nat_add(x_6, x_3);
x_12 = lean_string_utf8_get_fast(x_5, x_11);
x_13 = lean_uint32_dec_eq(x_12, x_10);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
lean_dec(x_3);
x_14 = lean_string_utf8_next_fast(x_5, x_11);
lean_dec(x_11);
x_15 = lean_nat_sub(x_14, x_6);
lean_dec(x_14);
{
lean_object* _tmp_2 = x_15;
lean_object* _tmp_3 = x_2;
x_3 = _tmp_2;
x_4 = _tmp_3;
}
goto _start;
}
else
{
lean_object* x_17; 
lean_dec(x_11);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_3);
return x_17;
}
}
else
{
lean_dec(x_3);
lean_inc(x_4);
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___redArg(x_1, x_2, x_5, x_6);
return x_9;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_setConfigOption___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("invalid -D parameter, argument must contain '='", 47, 47);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_setConfigOption___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Shell_0__Lean_setConfigOption___closed__0;
x_2 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_setConfigOption(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_38 = lean_unsigned_to_nat(0u);
x_39 = lean_string_utf8_byte_size(x_2);
lean_inc(x_39);
lean_inc_ref(x_2);
x_40 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_40, 0, x_2);
lean_ctor_set(x_40, 1, x_38);
lean_ctor_set(x_40, 2, x_39);
x_41 = lean_box(0);
x_42 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___redArg(x_40, x_41, x_38, x_41);
lean_dec_ref(x_40);
if (lean_obj_tag(x_42) == 0)
{
x_4 = x_39;
goto block_37;
}
else
{
lean_object* x_43; 
lean_dec(x_39);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
lean_dec_ref(x_42);
x_4 = x_43;
goto block_37;
}
block_37:
{
lean_object* x_5; uint8_t x_6; 
x_5 = lean_string_utf8_byte_size(x_2);
x_6 = lean_nat_dec_eq(x_4, x_5);
if (x_6 == 0)
{
lean_object* x_7; 
x_7 = l_Lean_getOptionDecls();
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_unsigned_to_nat(0u);
lean_inc(x_4);
lean_inc_ref(x_2);
x_11 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_11, 0, x_2);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set(x_11, 2, x_4);
x_12 = l_String_Slice_toName(x_11);
lean_dec_ref(x_11);
x_13 = lean_string_utf8_next_fast(x_2, x_4);
lean_dec(x_4);
x_14 = lean_string_utf8_extract(x_2, x_13, x_5);
lean_dec(x_5);
lean_dec(x_13);
lean_dec_ref(x_2);
x_15 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(x_9, x_12);
lean_dec(x_9);
if (lean_obj_tag(x_15) == 1)
{
lean_object* x_16; lean_object* x_17; 
lean_free_object(x_7);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
lean_dec_ref(x_15);
x_17 = l_Lean_Language_Lean_setOption(x_1, x_16, x_12, x_14);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; 
lean_dec(x_15);
x_18 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_18, 0, x_14);
x_19 = l_Lean_KVMap_insert(x_1, x_12, x_18);
lean_ctor_set(x_7, 0, x_19);
return x_7;
}
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_20 = lean_ctor_get(x_7, 0);
lean_inc(x_20);
lean_dec(x_7);
x_21 = lean_unsigned_to_nat(0u);
lean_inc(x_4);
lean_inc_ref(x_2);
x_22 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_22, 0, x_2);
lean_ctor_set(x_22, 1, x_21);
lean_ctor_set(x_22, 2, x_4);
x_23 = l_String_Slice_toName(x_22);
lean_dec_ref(x_22);
x_24 = lean_string_utf8_next_fast(x_2, x_4);
lean_dec(x_4);
x_25 = lean_string_utf8_extract(x_2, x_24, x_5);
lean_dec(x_5);
lean_dec(x_24);
lean_dec_ref(x_2);
x_26 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(x_20, x_23);
lean_dec(x_20);
if (lean_obj_tag(x_26) == 1)
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
lean_dec_ref(x_26);
x_28 = l_Lean_Language_Lean_setOption(x_1, x_27, x_23, x_25);
return x_28;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
lean_dec(x_26);
x_29 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_29, 0, x_25);
x_30 = l_Lean_KVMap_insert(x_1, x_23, x_29);
x_31 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_31, 0, x_30);
return x_31;
}
}
}
else
{
uint8_t x_32; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec_ref(x_2);
lean_dec(x_1);
x_32 = !lean_is_exclusive(x_7);
if (x_32 == 0)
{
return x_7;
}
else
{
lean_object* x_33; lean_object* x_34; 
x_33 = lean_ctor_get(x_7, 0);
lean_inc(x_33);
lean_dec(x_7);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
return x_34;
}
}
}
else
{
lean_object* x_35; lean_object* x_36; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec_ref(x_2);
lean_dec(x_1);
x_35 = l___private_Lean_Shell_0__Lean_setConfigOption___closed__1;
x_36 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_36, 0, x_35);
return x_36;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_6);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_setConfigOption_spec__0___redArg(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_setConfigOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Shell_0__Lean_setConfigOption(x_1, x_2);
return x_4;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_instToStringString___lam__0___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_4 = l_IO_eprint___redArg(x_3, x_1);
if (lean_obj_tag(x_4) == 0)
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_4);
if (x_5 == 0)
{
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_ctor_get(x_4, 0);
lean_inc(x_6);
lean_dec(x_4);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
else
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_4);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_4, 0);
lean_dec(x_9);
x_10 = lean_box(0);
lean_ctor_set_tag(x_4, 0);
lean_ctor_set(x_4, 0, x_10);
return x_4;
}
else
{
lean_object* x_11; lean_object* x_12; 
lean_dec(x_4);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint(x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\n", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: ", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed__const__1() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 1;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_8; lean_object* x_13; 
x_13 = lean_apply_1(x_2, lean_box(0));
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
return x_13;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_17 = lean_ctor_get(x_13, 0);
lean_inc(x_17);
lean_dec_ref(x_13);
x_23 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_24 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_25 = l_IO_eprint___redArg(x_24, x_23);
lean_dec_ref(x_25);
x_18 = lean_box(0);
goto block_22;
block_22:
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_io_error_to_string(x_17);
x_20 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_21 = l_IO_eprint___redArg(x_20, x_19);
lean_dec_ref(x_21);
x_8 = lean_box(0);
goto block_12;
}
}
block_7:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed__const__1;
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
block_12:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_10 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_11 = l_IO_eprint___redArg(x_10, x_9);
lean_dec_ref(x_11);
x_4 = lean_box(0);
goto block_7;
}
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed__const__1() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 1;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_7; lean_object* x_12; 
x_12 = lean_apply_1(x_1, lean_box(0));
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
return x_12;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_16 = lean_ctor_get(x_12, 0);
lean_inc(x_16);
lean_dec_ref(x_12);
x_22 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_23 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_24 = l_IO_eprint___redArg(x_23, x_22);
lean_dec_ref(x_24);
x_17 = lean_box(0);
goto block_21;
block_21:
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_18 = lean_io_error_to_string(x_16);
x_19 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_20 = l_IO_eprint___redArg(x_19, x_18);
lean_dec_ref(x_20);
x_7 = lean_box(0);
goto block_11;
}
}
block_6:
{
lean_object* x_4; lean_object* x_5; 
x_4 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed__const__1;
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
block_11:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_8 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_9 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_10 = l_IO_eprint___redArg(x_9, x_8);
lean_dec_ref(x_10);
x_3 = lean_box(0);
goto block_6;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO(x_1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg(x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: expected numeric argument for option '-", 46, 46);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'\n", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed__const__1() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 1;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_7 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__0;
x_8 = lean_string_append(x_7, x_1);
x_9 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__1;
x_10 = lean_string_append(x_8, x_9);
x_11 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_12 = l_IO_eprint___redArg(x_11, x_10);
lean_dec_ref(x_12);
x_3 = lean_box(0);
goto block_6;
block_6:
{
lean_object* x_4; lean_object* x_5; 
x_4 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed__const__1;
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric(x_1);
lean_dec_ref(x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: argument value for '-", 28, 28);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("' is too large\n", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed__const__1() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 1;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_7 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__0;
x_8 = lean_string_append(x_7, x_1);
x_9 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__1;
x_10 = lean_string_append(x_8, x_9);
x_11 = l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0;
x_12 = l_IO_eprint___redArg(x_11, x_10);
lean_dec_ref(x_12);
x_3 = lean_box(0);
goto block_6;
block_6:
{
lean_object* x_4; lean_object* x_5; 
x_4 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed__const__1;
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge(x_1);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_IO_print___at___00IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3_spec__3(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_get_stdout();
x_4 = lean_ctor_get(x_3, 4);
lean_inc_ref(x_4);
lean_dec_ref(x_3);
x_5 = lean_apply_2(x_4, x_1, lean_box(0));
return x_5;
}
}
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3(lean_object* x_1) {
_start:
{
uint32_t x_3; lean_object* x_4; lean_object* x_5; 
x_3 = 10;
x_4 = lean_string_push(x_1, x_3);
x_5 = l_IO_print___at___00IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3_spec__3(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_5, 0, x_3);
x_6 = l_Lean_KVMap_insert(x_1, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_5, 0, x_3);
x_6 = l_Lean_KVMap_insert(x_1, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_get_stderr();
x_4 = lean_ctor_get(x_3, 4);
lean_inc_ref(x_4);
lean_dec_ref(x_3);
x_5 = lean_apply_2(x_4, x_1, lean_box(0));
return x_5;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Unknown command line option\n", 28, 28);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("E", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("u", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("l", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-l", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("p", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-p", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("B", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("D", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-D", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lean_Shell_0__Lean_verbose;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("t", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: argument value for '-t' is too large\n", 44, 44);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-t", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: expected numeric argument for option '-t'\n", 49, 49);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("T", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lean_Shell_0__Lean_timeout;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-T", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: expected numeric argument for option '-T'\n", 49, 49);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("M", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lean_Shell_0__Lean_maxMemory;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-M", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: expected numeric argument for option '-M'\n", 49, 49);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("R", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-R", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("i", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("o", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("s", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_System_Platform_numBits;
x_2 = lean_unsigned_to_nat(2u);
x_3 = lean_nat_pow(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: argument value for '-s' is too large\n", 44, 44);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-s", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__31() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: expected numeric argument for option '-s'\n", 49, 49);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__32() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("b", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("c", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("j", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__35() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: argument value for '-j' is too large\n", 44, 44);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("-j", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__37() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("error: expected numeric argument for option '-j'\n", 49, 49);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 1;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 0;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* lean_shell_options_process(lean_object* x_1, uint32_t x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_9; lean_object* x_13; lean_object* x_17; lean_object* x_21; lean_object* x_25; lean_object* x_29; lean_object* x_33; lean_object* x_37; lean_object* x_41; lean_object* x_45; lean_object* x_49; lean_object* x_53; lean_object* x_57; lean_object* x_61; lean_object* x_65; lean_object* x_69; lean_object* x_73; lean_object* x_77; lean_object* x_81; lean_object* x_85; lean_object* x_89; lean_object* x_93; lean_object* x_97; lean_object* x_101; lean_object* x_105; lean_object* x_109; lean_object* x_113; lean_object* x_117; lean_object* x_121; lean_object* x_125; lean_object* x_129; lean_object* x_133; lean_object* x_137; lean_object* x_138; lean_object* x_142; lean_object* x_154; lean_object* x_158; lean_object* x_162; lean_object* x_166; lean_object* x_170; lean_object* x_174; lean_object* x_178; lean_object* x_182; lean_object* x_186; lean_object* x_190; lean_object* x_194; lean_object* x_198; lean_object* x_202; lean_object* x_206; lean_object* x_210; lean_object* x_214; lean_object* x_218; lean_object* x_222; lean_object* x_226; lean_object* x_230; lean_object* x_234; lean_object* x_238; lean_object* x_242; lean_object* x_246; lean_object* x_250; lean_object* x_254; uint32_t x_258; uint8_t x_259; 
x_258 = 101;
x_259 = lean_uint32_dec_eq(x_2, x_258);
if (x_259 == 0)
{
uint32_t x_260; uint8_t x_261; 
x_260 = 106;
x_261 = lean_uint32_dec_eq(x_2, x_260);
if (x_261 == 0)
{
uint32_t x_262; uint8_t x_263; 
x_262 = 118;
x_263 = lean_uint32_dec_eq(x_2, x_262);
if (x_263 == 0)
{
uint32_t x_264; uint8_t x_265; 
x_264 = 86;
x_265 = lean_uint32_dec_eq(x_2, x_264);
if (x_265 == 0)
{
uint32_t x_266; uint8_t x_267; 
x_266 = 103;
x_267 = lean_uint32_dec_eq(x_2, x_266);
if (x_267 == 0)
{
uint32_t x_268; uint8_t x_269; 
x_268 = 104;
x_269 = lean_uint32_dec_eq(x_2, x_268);
if (x_269 == 0)
{
uint32_t x_270; uint8_t x_271; 
x_270 = 102;
x_271 = lean_uint32_dec_eq(x_2, x_270);
if (x_271 == 0)
{
uint32_t x_272; uint8_t x_273; 
x_272 = 99;
x_273 = lean_uint32_dec_eq(x_2, x_272);
if (x_273 == 0)
{
uint32_t x_274; uint8_t x_275; 
x_274 = 98;
x_275 = lean_uint32_dec_eq(x_2, x_274);
if (x_275 == 0)
{
uint32_t x_276; uint8_t x_277; 
x_276 = 115;
x_277 = lean_uint32_dec_eq(x_2, x_276);
if (x_277 == 0)
{
uint32_t x_278; uint8_t x_279; 
x_278 = 73;
x_279 = lean_uint32_dec_eq(x_2, x_278);
if (x_279 == 0)
{
uint32_t x_280; uint8_t x_281; 
x_280 = 114;
x_281 = lean_uint32_dec_eq(x_2, x_280);
if (x_281 == 0)
{
uint32_t x_282; uint8_t x_283; 
x_282 = 111;
x_283 = lean_uint32_dec_eq(x_2, x_282);
if (x_283 == 0)
{
uint32_t x_284; uint8_t x_285; 
x_284 = 105;
x_285 = lean_uint32_dec_eq(x_2, x_284);
if (x_285 == 0)
{
uint32_t x_286; uint8_t x_287; 
x_286 = 82;
x_287 = lean_uint32_dec_eq(x_2, x_286);
if (x_287 == 0)
{
uint32_t x_288; uint8_t x_289; 
x_288 = 77;
x_289 = lean_uint32_dec_eq(x_2, x_288);
if (x_289 == 0)
{
uint32_t x_290; uint8_t x_291; 
x_290 = 84;
x_291 = lean_uint32_dec_eq(x_2, x_290);
if (x_291 == 0)
{
uint32_t x_292; uint8_t x_293; 
x_292 = 116;
x_293 = lean_uint32_dec_eq(x_2, x_292);
if (x_293 == 0)
{
uint32_t x_294; uint8_t x_295; 
x_294 = 113;
x_295 = lean_uint32_dec_eq(x_2, x_294);
if (x_295 == 0)
{
uint32_t x_296; uint8_t x_297; 
x_296 = 100;
x_297 = lean_uint32_dec_eq(x_2, x_296);
if (x_297 == 0)
{
uint32_t x_298; uint8_t x_299; 
x_298 = 79;
x_299 = lean_uint32_dec_eq(x_2, x_298);
if (x_299 == 0)
{
uint32_t x_300; uint8_t x_301; 
x_300 = 78;
x_301 = lean_uint32_dec_eq(x_2, x_300);
if (x_301 == 0)
{
uint32_t x_302; uint8_t x_303; 
x_302 = 74;
x_303 = lean_uint32_dec_eq(x_2, x_302);
if (x_303 == 0)
{
uint32_t x_304; uint8_t x_305; 
x_304 = 97;
x_305 = lean_uint32_dec_eq(x_2, x_304);
if (x_305 == 0)
{
uint32_t x_306; uint8_t x_307; 
x_306 = 120;
x_307 = lean_uint32_dec_eq(x_2, x_306);
if (x_307 == 0)
{
uint32_t x_308; uint8_t x_309; 
x_308 = 76;
x_309 = lean_uint32_dec_eq(x_2, x_308);
if (x_309 == 0)
{
uint32_t x_310; uint8_t x_311; 
x_310 = 68;
x_311 = lean_uint32_dec_eq(x_2, x_310);
if (x_311 == 0)
{
uint32_t x_312; uint8_t x_313; 
x_312 = 83;
x_313 = lean_uint32_dec_eq(x_2, x_312);
if (x_313 == 0)
{
uint32_t x_314; uint8_t x_315; 
x_314 = 87;
x_315 = lean_uint32_dec_eq(x_2, x_314);
if (x_315 == 0)
{
uint32_t x_316; uint8_t x_317; 
x_316 = 80;
x_317 = lean_uint32_dec_eq(x_2, x_316);
if (x_317 == 0)
{
uint32_t x_318; uint8_t x_319; 
x_318 = 66;
x_319 = lean_uint32_dec_eq(x_2, x_318);
if (x_319 == 0)
{
uint32_t x_320; uint8_t x_321; 
x_320 = 112;
x_321 = lean_uint32_dec_eq(x_2, x_320);
if (x_321 == 0)
{
uint32_t x_322; uint8_t x_323; 
x_322 = 108;
x_323 = lean_uint32_dec_eq(x_2, x_322);
if (x_323 == 0)
{
uint32_t x_324; uint8_t x_325; 
x_324 = 117;
x_325 = lean_uint32_dec_eq(x_2, x_324);
if (x_325 == 0)
{
uint32_t x_326; uint8_t x_327; 
x_326 = 69;
x_327 = lean_uint32_dec_eq(x_2, x_326);
if (x_327 == 0)
{
lean_dec(x_3);
lean_dec_ref(x_1);
x_154 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_328; lean_object* x_329; 
x_328 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__1;
x_329 = l___private_Lean_Shell_0__Lean_checkOptArg(x_328, x_3);
if (lean_obj_tag(x_329) == 0)
{
uint8_t x_330; 
x_330 = !lean_is_exclusive(x_329);
if (x_330 == 0)
{
uint8_t x_331; 
x_331 = !lean_is_exclusive(x_1);
if (x_331 == 0)
{
lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; 
x_332 = lean_ctor_get(x_329, 0);
x_333 = lean_ctor_get(x_1, 9);
x_334 = l_String_toName(x_332);
x_335 = lean_array_push(x_333, x_334);
lean_ctor_set(x_1, 9, x_335);
lean_ctor_set(x_329, 0, x_1);
return x_329;
}
else
{
lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; uint8_t x_340; uint8_t x_341; uint8_t x_342; uint8_t x_343; uint8_t x_344; uint8_t x_345; lean_object* x_346; uint32_t x_347; uint32_t x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; lean_object* x_356; uint8_t x_357; uint8_t x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; 
x_336 = lean_ctor_get(x_329, 0);
x_337 = lean_ctor_get(x_1, 0);
x_338 = lean_ctor_get(x_1, 1);
x_339 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_340 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_341 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_342 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_343 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_344 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_345 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_346 = lean_ctor_get(x_1, 2);
x_347 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_348 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_349 = lean_ctor_get(x_1, 3);
x_350 = lean_ctor_get(x_1, 4);
x_351 = lean_ctor_get(x_1, 5);
x_352 = lean_ctor_get(x_1, 6);
x_353 = lean_ctor_get(x_1, 7);
x_354 = lean_ctor_get(x_1, 8);
x_355 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_356 = lean_ctor_get(x_1, 9);
x_357 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_358 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_356);
lean_inc(x_354);
lean_inc(x_353);
lean_inc(x_352);
lean_inc(x_351);
lean_inc(x_350);
lean_inc(x_349);
lean_inc(x_346);
lean_inc(x_338);
lean_inc(x_337);
lean_dec(x_1);
x_359 = l_String_toName(x_336);
x_360 = lean_array_push(x_356, x_359);
x_361 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_361, 0, x_337);
lean_ctor_set(x_361, 1, x_338);
lean_ctor_set(x_361, 2, x_346);
lean_ctor_set(x_361, 3, x_349);
lean_ctor_set(x_361, 4, x_350);
lean_ctor_set(x_361, 5, x_351);
lean_ctor_set(x_361, 6, x_352);
lean_ctor_set(x_361, 7, x_353);
lean_ctor_set(x_361, 8, x_354);
lean_ctor_set(x_361, 9, x_360);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 8, x_339);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 9, x_340);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 10, x_341);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 11, x_342);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 12, x_343);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 13, x_344);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 14, x_345);
lean_ctor_set_uint32(x_361, sizeof(void*)*10, x_347);
lean_ctor_set_uint32(x_361, sizeof(void*)*10 + 4, x_348);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 15, x_355);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 16, x_357);
lean_ctor_set_uint8(x_361, sizeof(void*)*10 + 17, x_358);
lean_ctor_set(x_329, 0, x_361);
return x_329;
}
}
else
{
lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; uint8_t x_366; uint8_t x_367; uint8_t x_368; uint8_t x_369; uint8_t x_370; uint8_t x_371; lean_object* x_372; uint32_t x_373; uint32_t x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; uint8_t x_381; lean_object* x_382; uint8_t x_383; uint8_t x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; 
x_362 = lean_ctor_get(x_329, 0);
lean_inc(x_362);
lean_dec(x_329);
x_363 = lean_ctor_get(x_1, 0);
lean_inc(x_363);
x_364 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_364);
x_365 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_366 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_367 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_368 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_369 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_370 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_371 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_372 = lean_ctor_get(x_1, 2);
lean_inc(x_372);
x_373 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_374 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_375 = lean_ctor_get(x_1, 3);
lean_inc(x_375);
x_376 = lean_ctor_get(x_1, 4);
lean_inc(x_376);
x_377 = lean_ctor_get(x_1, 5);
lean_inc(x_377);
x_378 = lean_ctor_get(x_1, 6);
lean_inc(x_378);
x_379 = lean_ctor_get(x_1, 7);
lean_inc(x_379);
x_380 = lean_ctor_get(x_1, 8);
lean_inc(x_380);
x_381 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_382 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_382);
x_383 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_384 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_385 = x_1;
} else {
 lean_dec_ref(x_1);
 x_385 = lean_box(0);
}
x_386 = l_String_toName(x_362);
x_387 = lean_array_push(x_382, x_386);
if (lean_is_scalar(x_385)) {
 x_388 = lean_alloc_ctor(0, 10, 18);
} else {
 x_388 = x_385;
}
lean_ctor_set(x_388, 0, x_363);
lean_ctor_set(x_388, 1, x_364);
lean_ctor_set(x_388, 2, x_372);
lean_ctor_set(x_388, 3, x_375);
lean_ctor_set(x_388, 4, x_376);
lean_ctor_set(x_388, 5, x_377);
lean_ctor_set(x_388, 6, x_378);
lean_ctor_set(x_388, 7, x_379);
lean_ctor_set(x_388, 8, x_380);
lean_ctor_set(x_388, 9, x_387);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 8, x_365);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 9, x_366);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 10, x_367);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 11, x_368);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 12, x_369);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 13, x_370);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 14, x_371);
lean_ctor_set_uint32(x_388, sizeof(void*)*10, x_373);
lean_ctor_set_uint32(x_388, sizeof(void*)*10 + 4, x_374);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 15, x_381);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 16, x_383);
lean_ctor_set_uint8(x_388, sizeof(void*)*10 + 17, x_384);
x_389 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_389, 0, x_388);
return x_389;
}
}
else
{
lean_object* x_390; lean_object* x_391; lean_object* x_395; lean_object* x_396; 
lean_dec_ref(x_1);
x_390 = lean_ctor_get(x_329, 0);
lean_inc(x_390);
lean_dec_ref(x_329);
x_395 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_396 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_395);
lean_dec_ref(x_396);
x_391 = lean_box(0);
goto block_394;
block_394:
{
lean_object* x_392; lean_object* x_393; 
x_392 = lean_io_error_to_string(x_390);
x_393 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_392);
lean_dec_ref(x_393);
x_162 = lean_box(0);
goto block_165;
}
}
}
}
else
{
lean_object* x_397; lean_object* x_398; 
x_397 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__2;
x_398 = l___private_Lean_Shell_0__Lean_checkOptArg(x_397, x_3);
if (lean_obj_tag(x_398) == 0)
{
uint8_t x_399; 
x_399 = !lean_is_exclusive(x_398);
if (x_399 == 0)
{
uint8_t x_400; 
x_400 = !lean_is_exclusive(x_1);
if (x_400 == 0)
{
lean_object* x_401; lean_object* x_402; lean_object* x_403; 
x_401 = lean_ctor_get(x_398, 0);
x_402 = lean_ctor_get(x_1, 4);
lean_dec(x_402);
x_403 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_403, 0, x_401);
lean_ctor_set(x_1, 4, x_403);
lean_ctor_set(x_398, 0, x_1);
return x_398;
}
else
{
lean_object* x_404; lean_object* x_405; lean_object* x_406; uint8_t x_407; uint8_t x_408; uint8_t x_409; uint8_t x_410; uint8_t x_411; uint8_t x_412; uint8_t x_413; lean_object* x_414; uint32_t x_415; uint32_t x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; lean_object* x_423; uint8_t x_424; uint8_t x_425; lean_object* x_426; lean_object* x_427; 
x_404 = lean_ctor_get(x_398, 0);
x_405 = lean_ctor_get(x_1, 0);
x_406 = lean_ctor_get(x_1, 1);
x_407 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_408 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_409 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_410 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_411 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_412 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_413 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_414 = lean_ctor_get(x_1, 2);
x_415 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_416 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_417 = lean_ctor_get(x_1, 3);
x_418 = lean_ctor_get(x_1, 5);
x_419 = lean_ctor_get(x_1, 6);
x_420 = lean_ctor_get(x_1, 7);
x_421 = lean_ctor_get(x_1, 8);
x_422 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_423 = lean_ctor_get(x_1, 9);
x_424 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_425 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_423);
lean_inc(x_421);
lean_inc(x_420);
lean_inc(x_419);
lean_inc(x_418);
lean_inc(x_417);
lean_inc(x_414);
lean_inc(x_406);
lean_inc(x_405);
lean_dec(x_1);
x_426 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_426, 0, x_404);
x_427 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_427, 0, x_405);
lean_ctor_set(x_427, 1, x_406);
lean_ctor_set(x_427, 2, x_414);
lean_ctor_set(x_427, 3, x_417);
lean_ctor_set(x_427, 4, x_426);
lean_ctor_set(x_427, 5, x_418);
lean_ctor_set(x_427, 6, x_419);
lean_ctor_set(x_427, 7, x_420);
lean_ctor_set(x_427, 8, x_421);
lean_ctor_set(x_427, 9, x_423);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 8, x_407);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 9, x_408);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 10, x_409);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 11, x_410);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 12, x_411);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 13, x_412);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 14, x_413);
lean_ctor_set_uint32(x_427, sizeof(void*)*10, x_415);
lean_ctor_set_uint32(x_427, sizeof(void*)*10 + 4, x_416);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 15, x_422);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 16, x_424);
lean_ctor_set_uint8(x_427, sizeof(void*)*10 + 17, x_425);
lean_ctor_set(x_398, 0, x_427);
return x_398;
}
}
else
{
lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; uint8_t x_432; uint8_t x_433; uint8_t x_434; uint8_t x_435; uint8_t x_436; uint8_t x_437; lean_object* x_438; uint32_t x_439; uint32_t x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; lean_object* x_447; uint8_t x_448; uint8_t x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; 
x_428 = lean_ctor_get(x_398, 0);
lean_inc(x_428);
lean_dec(x_398);
x_429 = lean_ctor_get(x_1, 0);
lean_inc(x_429);
x_430 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_430);
x_431 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_432 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_433 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_434 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_435 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_436 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_437 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_438 = lean_ctor_get(x_1, 2);
lean_inc(x_438);
x_439 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_440 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_441 = lean_ctor_get(x_1, 3);
lean_inc(x_441);
x_442 = lean_ctor_get(x_1, 5);
lean_inc(x_442);
x_443 = lean_ctor_get(x_1, 6);
lean_inc(x_443);
x_444 = lean_ctor_get(x_1, 7);
lean_inc(x_444);
x_445 = lean_ctor_get(x_1, 8);
lean_inc(x_445);
x_446 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_447 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_447);
x_448 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_449 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_450 = x_1;
} else {
 lean_dec_ref(x_1);
 x_450 = lean_box(0);
}
x_451 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_451, 0, x_428);
if (lean_is_scalar(x_450)) {
 x_452 = lean_alloc_ctor(0, 10, 18);
} else {
 x_452 = x_450;
}
lean_ctor_set(x_452, 0, x_429);
lean_ctor_set(x_452, 1, x_430);
lean_ctor_set(x_452, 2, x_438);
lean_ctor_set(x_452, 3, x_441);
lean_ctor_set(x_452, 4, x_451);
lean_ctor_set(x_452, 5, x_442);
lean_ctor_set(x_452, 6, x_443);
lean_ctor_set(x_452, 7, x_444);
lean_ctor_set(x_452, 8, x_445);
lean_ctor_set(x_452, 9, x_447);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 8, x_431);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 9, x_432);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 10, x_433);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 11, x_434);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 12, x_435);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 13, x_436);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 14, x_437);
lean_ctor_set_uint32(x_452, sizeof(void*)*10, x_439);
lean_ctor_set_uint32(x_452, sizeof(void*)*10 + 4, x_440);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 15, x_446);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 16, x_448);
lean_ctor_set_uint8(x_452, sizeof(void*)*10 + 17, x_449);
x_453 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_453, 0, x_452);
return x_453;
}
}
else
{
lean_object* x_454; lean_object* x_455; lean_object* x_459; lean_object* x_460; 
lean_dec_ref(x_1);
x_454 = lean_ctor_get(x_398, 0);
lean_inc(x_454);
lean_dec_ref(x_398);
x_459 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_460 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_459);
lean_dec_ref(x_460);
x_455 = lean_box(0);
goto block_458;
block_458:
{
lean_object* x_456; lean_object* x_457; 
x_456 = lean_io_error_to_string(x_454);
x_457 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_456);
lean_dec_ref(x_457);
x_125 = lean_box(0);
goto block_128;
}
}
}
}
else
{
lean_object* x_461; lean_object* x_462; 
x_461 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__3;
x_462 = l___private_Lean_Shell_0__Lean_checkOptArg(x_461, x_3);
if (lean_obj_tag(x_462) == 0)
{
lean_object* x_463; lean_object* x_464; 
x_463 = lean_ctor_get(x_462, 0);
lean_inc(x_463);
lean_dec_ref(x_462);
lean_inc(x_463);
x_464 = lean_load_dynlib(x_463);
if (lean_obj_tag(x_464) == 0)
{
uint8_t x_465; 
x_465 = !lean_is_exclusive(x_464);
if (x_465 == 0)
{
lean_object* x_466; uint8_t x_467; 
x_466 = lean_ctor_get(x_464, 0);
lean_dec(x_466);
x_467 = !lean_is_exclusive(x_1);
if (x_467 == 0)
{
lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; 
x_468 = lean_ctor_get(x_1, 1);
x_469 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4;
x_470 = lean_string_append(x_469, x_463);
lean_dec(x_463);
x_471 = lean_array_push(x_468, x_470);
lean_ctor_set(x_1, 1, x_471);
lean_ctor_set(x_464, 0, x_1);
return x_464;
}
else
{
lean_object* x_472; lean_object* x_473; uint8_t x_474; uint8_t x_475; uint8_t x_476; uint8_t x_477; uint8_t x_478; uint8_t x_479; uint8_t x_480; lean_object* x_481; uint32_t x_482; uint32_t x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; lean_object* x_491; uint8_t x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; 
x_472 = lean_ctor_get(x_1, 0);
x_473 = lean_ctor_get(x_1, 1);
x_474 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_475 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_476 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_477 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_478 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_479 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_480 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_481 = lean_ctor_get(x_1, 2);
x_482 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_483 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_484 = lean_ctor_get(x_1, 3);
x_485 = lean_ctor_get(x_1, 4);
x_486 = lean_ctor_get(x_1, 5);
x_487 = lean_ctor_get(x_1, 6);
x_488 = lean_ctor_get(x_1, 7);
x_489 = lean_ctor_get(x_1, 8);
x_490 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_491 = lean_ctor_get(x_1, 9);
x_492 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_493 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_491);
lean_inc(x_489);
lean_inc(x_488);
lean_inc(x_487);
lean_inc(x_486);
lean_inc(x_485);
lean_inc(x_484);
lean_inc(x_481);
lean_inc(x_473);
lean_inc(x_472);
lean_dec(x_1);
x_494 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4;
x_495 = lean_string_append(x_494, x_463);
lean_dec(x_463);
x_496 = lean_array_push(x_473, x_495);
x_497 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_497, 0, x_472);
lean_ctor_set(x_497, 1, x_496);
lean_ctor_set(x_497, 2, x_481);
lean_ctor_set(x_497, 3, x_484);
lean_ctor_set(x_497, 4, x_485);
lean_ctor_set(x_497, 5, x_486);
lean_ctor_set(x_497, 6, x_487);
lean_ctor_set(x_497, 7, x_488);
lean_ctor_set(x_497, 8, x_489);
lean_ctor_set(x_497, 9, x_491);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 8, x_474);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 9, x_475);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 10, x_476);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 11, x_477);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 12, x_478);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 13, x_479);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 14, x_480);
lean_ctor_set_uint32(x_497, sizeof(void*)*10, x_482);
lean_ctor_set_uint32(x_497, sizeof(void*)*10 + 4, x_483);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 15, x_490);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 16, x_492);
lean_ctor_set_uint8(x_497, sizeof(void*)*10 + 17, x_493);
lean_ctor_set(x_464, 0, x_497);
return x_464;
}
}
else
{
lean_object* x_498; lean_object* x_499; uint8_t x_500; uint8_t x_501; uint8_t x_502; uint8_t x_503; uint8_t x_504; uint8_t x_505; uint8_t x_506; lean_object* x_507; uint32_t x_508; uint32_t x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; uint8_t x_516; lean_object* x_517; uint8_t x_518; uint8_t x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; 
lean_dec(x_464);
x_498 = lean_ctor_get(x_1, 0);
lean_inc(x_498);
x_499 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_499);
x_500 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_501 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_502 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_503 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_504 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_505 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_506 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_507 = lean_ctor_get(x_1, 2);
lean_inc(x_507);
x_508 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_509 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_510 = lean_ctor_get(x_1, 3);
lean_inc(x_510);
x_511 = lean_ctor_get(x_1, 4);
lean_inc(x_511);
x_512 = lean_ctor_get(x_1, 5);
lean_inc(x_512);
x_513 = lean_ctor_get(x_1, 6);
lean_inc(x_513);
x_514 = lean_ctor_get(x_1, 7);
lean_inc(x_514);
x_515 = lean_ctor_get(x_1, 8);
lean_inc(x_515);
x_516 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_517 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_517);
x_518 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_519 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_520 = x_1;
} else {
 lean_dec_ref(x_1);
 x_520 = lean_box(0);
}
x_521 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4;
x_522 = lean_string_append(x_521, x_463);
lean_dec(x_463);
x_523 = lean_array_push(x_499, x_522);
if (lean_is_scalar(x_520)) {
 x_524 = lean_alloc_ctor(0, 10, 18);
} else {
 x_524 = x_520;
}
lean_ctor_set(x_524, 0, x_498);
lean_ctor_set(x_524, 1, x_523);
lean_ctor_set(x_524, 2, x_507);
lean_ctor_set(x_524, 3, x_510);
lean_ctor_set(x_524, 4, x_511);
lean_ctor_set(x_524, 5, x_512);
lean_ctor_set(x_524, 6, x_513);
lean_ctor_set(x_524, 7, x_514);
lean_ctor_set(x_524, 8, x_515);
lean_ctor_set(x_524, 9, x_517);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 8, x_500);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 9, x_501);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 10, x_502);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 11, x_503);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 12, x_504);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 13, x_505);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 14, x_506);
lean_ctor_set_uint32(x_524, sizeof(void*)*10, x_508);
lean_ctor_set_uint32(x_524, sizeof(void*)*10 + 4, x_509);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 15, x_516);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 16, x_518);
lean_ctor_set_uint8(x_524, sizeof(void*)*10 + 17, x_519);
x_525 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_525, 0, x_524);
return x_525;
}
}
else
{
lean_object* x_526; lean_object* x_527; lean_object* x_531; lean_object* x_532; 
lean_dec(x_463);
lean_dec_ref(x_1);
x_526 = lean_ctor_get(x_464, 0);
lean_inc(x_526);
lean_dec_ref(x_464);
x_531 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_532 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_531);
lean_dec_ref(x_532);
x_527 = lean_box(0);
goto block_530;
block_530:
{
lean_object* x_528; lean_object* x_529; 
x_528 = lean_io_error_to_string(x_526);
x_529 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_528);
lean_dec_ref(x_529);
x_170 = lean_box(0);
goto block_173;
}
}
}
else
{
lean_object* x_533; lean_object* x_534; lean_object* x_538; lean_object* x_539; 
lean_dec_ref(x_1);
x_533 = lean_ctor_get(x_462, 0);
lean_inc(x_533);
lean_dec_ref(x_462);
x_538 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_539 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_538);
lean_dec_ref(x_539);
x_534 = lean_box(0);
goto block_537;
block_537:
{
lean_object* x_535; lean_object* x_536; 
x_535 = lean_io_error_to_string(x_533);
x_536 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_535);
lean_dec_ref(x_536);
x_117 = lean_box(0);
goto block_120;
}
}
}
}
else
{
lean_object* x_540; lean_object* x_541; 
x_540 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__5;
x_541 = l___private_Lean_Shell_0__Lean_checkOptArg(x_540, x_3);
if (lean_obj_tag(x_541) == 0)
{
lean_object* x_542; lean_object* x_543; 
x_542 = lean_ctor_get(x_541, 0);
lean_inc(x_542);
lean_dec_ref(x_541);
lean_inc(x_542);
x_543 = lean_load_plugin(x_542);
if (lean_obj_tag(x_543) == 0)
{
uint8_t x_544; 
x_544 = !lean_is_exclusive(x_543);
if (x_544 == 0)
{
lean_object* x_545; uint8_t x_546; 
x_545 = lean_ctor_get(x_543, 0);
lean_dec(x_545);
x_546 = !lean_is_exclusive(x_1);
if (x_546 == 0)
{
lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; 
x_547 = lean_ctor_get(x_1, 1);
x_548 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6;
x_549 = lean_string_append(x_548, x_542);
lean_dec(x_542);
x_550 = lean_array_push(x_547, x_549);
lean_ctor_set(x_1, 1, x_550);
lean_ctor_set(x_543, 0, x_1);
return x_543;
}
else
{
lean_object* x_551; lean_object* x_552; uint8_t x_553; uint8_t x_554; uint8_t x_555; uint8_t x_556; uint8_t x_557; uint8_t x_558; uint8_t x_559; lean_object* x_560; uint32_t x_561; uint32_t x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; uint8_t x_569; lean_object* x_570; uint8_t x_571; uint8_t x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; 
x_551 = lean_ctor_get(x_1, 0);
x_552 = lean_ctor_get(x_1, 1);
x_553 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_554 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_555 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_556 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_557 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_558 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_559 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_560 = lean_ctor_get(x_1, 2);
x_561 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_562 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_563 = lean_ctor_get(x_1, 3);
x_564 = lean_ctor_get(x_1, 4);
x_565 = lean_ctor_get(x_1, 5);
x_566 = lean_ctor_get(x_1, 6);
x_567 = lean_ctor_get(x_1, 7);
x_568 = lean_ctor_get(x_1, 8);
x_569 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_570 = lean_ctor_get(x_1, 9);
x_571 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_572 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_570);
lean_inc(x_568);
lean_inc(x_567);
lean_inc(x_566);
lean_inc(x_565);
lean_inc(x_564);
lean_inc(x_563);
lean_inc(x_560);
lean_inc(x_552);
lean_inc(x_551);
lean_dec(x_1);
x_573 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6;
x_574 = lean_string_append(x_573, x_542);
lean_dec(x_542);
x_575 = lean_array_push(x_552, x_574);
x_576 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_576, 0, x_551);
lean_ctor_set(x_576, 1, x_575);
lean_ctor_set(x_576, 2, x_560);
lean_ctor_set(x_576, 3, x_563);
lean_ctor_set(x_576, 4, x_564);
lean_ctor_set(x_576, 5, x_565);
lean_ctor_set(x_576, 6, x_566);
lean_ctor_set(x_576, 7, x_567);
lean_ctor_set(x_576, 8, x_568);
lean_ctor_set(x_576, 9, x_570);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 8, x_553);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 9, x_554);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 10, x_555);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 11, x_556);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 12, x_557);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 13, x_558);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 14, x_559);
lean_ctor_set_uint32(x_576, sizeof(void*)*10, x_561);
lean_ctor_set_uint32(x_576, sizeof(void*)*10 + 4, x_562);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 15, x_569);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 16, x_571);
lean_ctor_set_uint8(x_576, sizeof(void*)*10 + 17, x_572);
lean_ctor_set(x_543, 0, x_576);
return x_543;
}
}
else
{
lean_object* x_577; lean_object* x_578; uint8_t x_579; uint8_t x_580; uint8_t x_581; uint8_t x_582; uint8_t x_583; uint8_t x_584; uint8_t x_585; lean_object* x_586; uint32_t x_587; uint32_t x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; uint8_t x_595; lean_object* x_596; uint8_t x_597; uint8_t x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; 
lean_dec(x_543);
x_577 = lean_ctor_get(x_1, 0);
lean_inc(x_577);
x_578 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_578);
x_579 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_580 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_581 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_582 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_583 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_584 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_585 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_586 = lean_ctor_get(x_1, 2);
lean_inc(x_586);
x_587 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_588 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_589 = lean_ctor_get(x_1, 3);
lean_inc(x_589);
x_590 = lean_ctor_get(x_1, 4);
lean_inc(x_590);
x_591 = lean_ctor_get(x_1, 5);
lean_inc(x_591);
x_592 = lean_ctor_get(x_1, 6);
lean_inc(x_592);
x_593 = lean_ctor_get(x_1, 7);
lean_inc(x_593);
x_594 = lean_ctor_get(x_1, 8);
lean_inc(x_594);
x_595 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_596 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_596);
x_597 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_598 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_599 = x_1;
} else {
 lean_dec_ref(x_1);
 x_599 = lean_box(0);
}
x_600 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6;
x_601 = lean_string_append(x_600, x_542);
lean_dec(x_542);
x_602 = lean_array_push(x_578, x_601);
if (lean_is_scalar(x_599)) {
 x_603 = lean_alloc_ctor(0, 10, 18);
} else {
 x_603 = x_599;
}
lean_ctor_set(x_603, 0, x_577);
lean_ctor_set(x_603, 1, x_602);
lean_ctor_set(x_603, 2, x_586);
lean_ctor_set(x_603, 3, x_589);
lean_ctor_set(x_603, 4, x_590);
lean_ctor_set(x_603, 5, x_591);
lean_ctor_set(x_603, 6, x_592);
lean_ctor_set(x_603, 7, x_593);
lean_ctor_set(x_603, 8, x_594);
lean_ctor_set(x_603, 9, x_596);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 8, x_579);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 9, x_580);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 10, x_581);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 11, x_582);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 12, x_583);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 13, x_584);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 14, x_585);
lean_ctor_set_uint32(x_603, sizeof(void*)*10, x_587);
lean_ctor_set_uint32(x_603, sizeof(void*)*10 + 4, x_588);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 15, x_595);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 16, x_597);
lean_ctor_set_uint8(x_603, sizeof(void*)*10 + 17, x_598);
x_604 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_604, 0, x_603);
return x_604;
}
}
else
{
lean_object* x_605; lean_object* x_606; lean_object* x_610; lean_object* x_611; 
lean_dec(x_542);
lean_dec_ref(x_1);
x_605 = lean_ctor_get(x_543, 0);
lean_inc(x_605);
lean_dec_ref(x_543);
x_610 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_611 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_610);
lean_dec_ref(x_611);
x_606 = lean_box(0);
goto block_609;
block_609:
{
lean_object* x_607; lean_object* x_608; 
x_607 = lean_io_error_to_string(x_605);
x_608 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_607);
lean_dec_ref(x_608);
x_178 = lean_box(0);
goto block_181;
}
}
}
else
{
lean_object* x_612; lean_object* x_613; lean_object* x_617; lean_object* x_618; 
lean_dec_ref(x_1);
x_612 = lean_ctor_get(x_541, 0);
lean_inc(x_612);
lean_dec_ref(x_541);
x_617 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_618 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_617);
lean_dec_ref(x_618);
x_613 = lean_box(0);
goto block_616;
block_616:
{
lean_object* x_614; lean_object* x_615; 
x_614 = lean_io_error_to_string(x_612);
x_615 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_614);
lean_dec_ref(x_615);
x_109 = lean_box(0);
goto block_112;
}
}
}
}
else
{
uint8_t x_619; 
x_619 = l___private_Lean_Shell_0__Lean_displayHelp___closed__12;
if (x_619 == 0)
{
lean_dec(x_3);
lean_dec_ref(x_1);
x_154 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_620; lean_object* x_621; 
x_620 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__7;
x_621 = l___private_Lean_Shell_0__Lean_checkOptArg(x_620, x_3);
if (lean_obj_tag(x_621) == 0)
{
uint8_t x_622; 
x_622 = !lean_is_exclusive(x_621);
if (x_622 == 0)
{
lean_object* x_623; lean_object* x_624; 
x_623 = lean_ctor_get(x_621, 0);
x_624 = lean_internal_enable_debug(x_623);
lean_dec(x_623);
lean_ctor_set(x_621, 0, x_1);
return x_621;
}
else
{
lean_object* x_625; lean_object* x_626; lean_object* x_627; 
x_625 = lean_ctor_get(x_621, 0);
lean_inc(x_625);
lean_dec(x_621);
x_626 = lean_internal_enable_debug(x_625);
lean_dec(x_625);
x_627 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_627, 0, x_1);
return x_627;
}
}
else
{
lean_object* x_628; lean_object* x_629; lean_object* x_633; lean_object* x_634; 
lean_dec_ref(x_1);
x_628 = lean_ctor_get(x_621, 0);
lean_inc(x_628);
lean_dec_ref(x_621);
x_633 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_634 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_633);
lean_dec_ref(x_634);
x_629 = lean_box(0);
goto block_632;
block_632:
{
lean_object* x_630; lean_object* x_631; 
x_630 = lean_io_error_to_string(x_628);
x_631 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_630);
lean_dec_ref(x_631);
x_186 = lean_box(0);
goto block_189;
}
}
}
}
}
else
{
uint8_t x_635; 
lean_dec(x_3);
x_635 = !lean_is_exclusive(x_1);
if (x_635 == 0)
{
lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; 
x_636 = lean_ctor_get(x_1, 0);
x_637 = l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0;
x_638 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1(x_636, x_637, x_317);
lean_ctor_set(x_1, 0, x_638);
x_639 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_639, 0, x_1);
return x_639;
}
else
{
lean_object* x_640; lean_object* x_641; uint8_t x_642; uint8_t x_643; uint8_t x_644; uint8_t x_645; uint8_t x_646; uint8_t x_647; uint8_t x_648; lean_object* x_649; uint32_t x_650; uint32_t x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; uint8_t x_658; lean_object* x_659; uint8_t x_660; uint8_t x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; 
x_640 = lean_ctor_get(x_1, 0);
x_641 = lean_ctor_get(x_1, 1);
x_642 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_643 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_644 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_645 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_646 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_647 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_648 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_649 = lean_ctor_get(x_1, 2);
x_650 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_651 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_652 = lean_ctor_get(x_1, 3);
x_653 = lean_ctor_get(x_1, 4);
x_654 = lean_ctor_get(x_1, 5);
x_655 = lean_ctor_get(x_1, 6);
x_656 = lean_ctor_get(x_1, 7);
x_657 = lean_ctor_get(x_1, 8);
x_658 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_659 = lean_ctor_get(x_1, 9);
x_660 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_661 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_659);
lean_inc(x_657);
lean_inc(x_656);
lean_inc(x_655);
lean_inc(x_654);
lean_inc(x_653);
lean_inc(x_652);
lean_inc(x_649);
lean_inc(x_641);
lean_inc(x_640);
lean_dec(x_1);
x_662 = l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0;
x_663 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1(x_640, x_662, x_317);
x_664 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_664, 0, x_663);
lean_ctor_set(x_664, 1, x_641);
lean_ctor_set(x_664, 2, x_649);
lean_ctor_set(x_664, 3, x_652);
lean_ctor_set(x_664, 4, x_653);
lean_ctor_set(x_664, 5, x_654);
lean_ctor_set(x_664, 6, x_655);
lean_ctor_set(x_664, 7, x_656);
lean_ctor_set(x_664, 8, x_657);
lean_ctor_set(x_664, 9, x_659);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 8, x_642);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 9, x_643);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 10, x_644);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 11, x_645);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 12, x_646);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 13, x_647);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 14, x_648);
lean_ctor_set_uint32(x_664, sizeof(void*)*10, x_650);
lean_ctor_set_uint32(x_664, sizeof(void*)*10 + 4, x_651);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 15, x_658);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 16, x_660);
lean_ctor_set_uint8(x_664, sizeof(void*)*10 + 17, x_661);
x_665 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_665, 0, x_664);
return x_665;
}
}
}
else
{
uint8_t x_666; 
lean_dec(x_3);
x_666 = !lean_is_exclusive(x_1);
if (x_666 == 0)
{
uint8_t x_667; lean_object* x_668; 
x_667 = 2;
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 8, x_667);
x_668 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_668, 0, x_1);
return x_668;
}
else
{
lean_object* x_669; lean_object* x_670; uint8_t x_671; uint8_t x_672; uint8_t x_673; uint8_t x_674; uint8_t x_675; uint8_t x_676; lean_object* x_677; uint32_t x_678; uint32_t x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; uint8_t x_686; lean_object* x_687; uint8_t x_688; uint8_t x_689; uint8_t x_690; lean_object* x_691; lean_object* x_692; 
x_669 = lean_ctor_get(x_1, 0);
x_670 = lean_ctor_get(x_1, 1);
x_671 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_672 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_673 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_674 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_675 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_676 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_677 = lean_ctor_get(x_1, 2);
x_678 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_679 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_680 = lean_ctor_get(x_1, 3);
x_681 = lean_ctor_get(x_1, 4);
x_682 = lean_ctor_get(x_1, 5);
x_683 = lean_ctor_get(x_1, 6);
x_684 = lean_ctor_get(x_1, 7);
x_685 = lean_ctor_get(x_1, 8);
x_686 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_687 = lean_ctor_get(x_1, 9);
x_688 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_689 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_687);
lean_inc(x_685);
lean_inc(x_684);
lean_inc(x_683);
lean_inc(x_682);
lean_inc(x_681);
lean_inc(x_680);
lean_inc(x_677);
lean_inc(x_670);
lean_inc(x_669);
lean_dec(x_1);
x_690 = 2;
x_691 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_691, 0, x_669);
lean_ctor_set(x_691, 1, x_670);
lean_ctor_set(x_691, 2, x_677);
lean_ctor_set(x_691, 3, x_680);
lean_ctor_set(x_691, 4, x_681);
lean_ctor_set(x_691, 5, x_682);
lean_ctor_set(x_691, 6, x_683);
lean_ctor_set(x_691, 7, x_684);
lean_ctor_set(x_691, 8, x_685);
lean_ctor_set(x_691, 9, x_687);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 8, x_690);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 9, x_671);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 10, x_672);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 11, x_673);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 12, x_674);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 13, x_675);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 14, x_676);
lean_ctor_set_uint32(x_691, sizeof(void*)*10, x_678);
lean_ctor_set_uint32(x_691, sizeof(void*)*10 + 4, x_679);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 15, x_686);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 16, x_688);
lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 17, x_689);
x_692 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_692, 0, x_691);
return x_692;
}
}
}
else
{
uint8_t x_693; 
lean_dec(x_3);
x_693 = !lean_is_exclusive(x_1);
if (x_693 == 0)
{
uint8_t x_694; lean_object* x_695; 
x_694 = 1;
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 8, x_694);
x_695 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_695, 0, x_1);
return x_695;
}
else
{
lean_object* x_696; lean_object* x_697; uint8_t x_698; uint8_t x_699; uint8_t x_700; uint8_t x_701; uint8_t x_702; uint8_t x_703; lean_object* x_704; uint32_t x_705; uint32_t x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; uint8_t x_713; lean_object* x_714; uint8_t x_715; uint8_t x_716; uint8_t x_717; lean_object* x_718; lean_object* x_719; 
x_696 = lean_ctor_get(x_1, 0);
x_697 = lean_ctor_get(x_1, 1);
x_698 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_699 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_700 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_701 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_702 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_703 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_704 = lean_ctor_get(x_1, 2);
x_705 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_706 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_707 = lean_ctor_get(x_1, 3);
x_708 = lean_ctor_get(x_1, 4);
x_709 = lean_ctor_get(x_1, 5);
x_710 = lean_ctor_get(x_1, 6);
x_711 = lean_ctor_get(x_1, 7);
x_712 = lean_ctor_get(x_1, 8);
x_713 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_714 = lean_ctor_get(x_1, 9);
x_715 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_716 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_714);
lean_inc(x_712);
lean_inc(x_711);
lean_inc(x_710);
lean_inc(x_709);
lean_inc(x_708);
lean_inc(x_707);
lean_inc(x_704);
lean_inc(x_697);
lean_inc(x_696);
lean_dec(x_1);
x_717 = 1;
x_718 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_718, 0, x_696);
lean_ctor_set(x_718, 1, x_697);
lean_ctor_set(x_718, 2, x_704);
lean_ctor_set(x_718, 3, x_707);
lean_ctor_set(x_718, 4, x_708);
lean_ctor_set(x_718, 5, x_709);
lean_ctor_set(x_718, 6, x_710);
lean_ctor_set(x_718, 7, x_711);
lean_ctor_set(x_718, 8, x_712);
lean_ctor_set(x_718, 9, x_714);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 8, x_717);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 9, x_698);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 10, x_699);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 11, x_700);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 12, x_701);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 13, x_702);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 14, x_703);
lean_ctor_set_uint32(x_718, sizeof(void*)*10, x_705);
lean_ctor_set_uint32(x_718, sizeof(void*)*10 + 4, x_706);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 15, x_713);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 16, x_715);
lean_ctor_set_uint8(x_718, sizeof(void*)*10 + 17, x_716);
x_719 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_719, 0, x_718);
return x_719;
}
}
}
else
{
lean_object* x_720; lean_object* x_721; 
x_720 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__8;
x_721 = l___private_Lean_Shell_0__Lean_checkOptArg(x_720, x_3);
if (lean_obj_tag(x_721) == 0)
{
lean_object* x_722; uint8_t x_723; 
x_722 = lean_ctor_get(x_721, 0);
lean_inc(x_722);
lean_dec_ref(x_721);
x_723 = !lean_is_exclusive(x_1);
if (x_723 == 0)
{
lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; 
x_724 = lean_ctor_get(x_1, 0);
x_725 = lean_ctor_get(x_1, 1);
x_726 = lean_ctor_get(x_1, 2);
x_727 = lean_ctor_get(x_1, 3);
x_728 = lean_ctor_get(x_1, 4);
x_729 = lean_ctor_get(x_1, 5);
x_730 = lean_ctor_get(x_1, 6);
x_731 = lean_ctor_get(x_1, 7);
x_732 = lean_ctor_get(x_1, 8);
x_733 = lean_ctor_get(x_1, 9);
lean_inc(x_722);
x_734 = l___private_Lean_Shell_0__Lean_setConfigOption(x_724, x_722);
if (lean_obj_tag(x_734) == 0)
{
uint8_t x_735; 
x_735 = !lean_is_exclusive(x_734);
if (x_735 == 0)
{
lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; 
x_736 = lean_ctor_get(x_734, 0);
x_737 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9;
x_738 = lean_string_append(x_737, x_722);
lean_dec(x_722);
x_739 = lean_array_push(x_725, x_738);
lean_ctor_set(x_1, 1, x_739);
lean_ctor_set(x_1, 0, x_736);
lean_ctor_set(x_734, 0, x_1);
return x_734;
}
else
{
lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; 
x_740 = lean_ctor_get(x_734, 0);
lean_inc(x_740);
lean_dec(x_734);
x_741 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9;
x_742 = lean_string_append(x_741, x_722);
lean_dec(x_722);
x_743 = lean_array_push(x_725, x_742);
lean_ctor_set(x_1, 1, x_743);
lean_ctor_set(x_1, 0, x_740);
x_744 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_744, 0, x_1);
return x_744;
}
}
else
{
lean_object* x_745; lean_object* x_746; lean_object* x_750; lean_object* x_751; 
lean_free_object(x_1);
lean_dec_ref(x_733);
lean_dec(x_732);
lean_dec(x_731);
lean_dec(x_730);
lean_dec(x_729);
lean_dec(x_728);
lean_dec(x_727);
lean_dec(x_726);
lean_dec_ref(x_725);
lean_dec(x_722);
x_745 = lean_ctor_get(x_734, 0);
lean_inc(x_745);
lean_dec_ref(x_734);
x_750 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_751 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_750);
lean_dec_ref(x_751);
x_746 = lean_box(0);
goto block_749;
block_749:
{
lean_object* x_747; lean_object* x_748; 
x_747 = lean_io_error_to_string(x_745);
x_748 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_747);
lean_dec_ref(x_748);
x_101 = lean_box(0);
goto block_104;
}
}
}
else
{
lean_object* x_752; lean_object* x_753; uint8_t x_754; uint8_t x_755; uint8_t x_756; uint8_t x_757; uint8_t x_758; uint8_t x_759; uint8_t x_760; lean_object* x_761; uint32_t x_762; uint32_t x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; uint8_t x_770; lean_object* x_771; uint8_t x_772; uint8_t x_773; lean_object* x_774; 
x_752 = lean_ctor_get(x_1, 0);
x_753 = lean_ctor_get(x_1, 1);
x_754 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_755 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_756 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_757 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_758 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_759 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_760 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_761 = lean_ctor_get(x_1, 2);
x_762 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_763 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_764 = lean_ctor_get(x_1, 3);
x_765 = lean_ctor_get(x_1, 4);
x_766 = lean_ctor_get(x_1, 5);
x_767 = lean_ctor_get(x_1, 6);
x_768 = lean_ctor_get(x_1, 7);
x_769 = lean_ctor_get(x_1, 8);
x_770 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_771 = lean_ctor_get(x_1, 9);
x_772 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_773 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_771);
lean_inc(x_769);
lean_inc(x_768);
lean_inc(x_767);
lean_inc(x_766);
lean_inc(x_765);
lean_inc(x_764);
lean_inc(x_761);
lean_inc(x_753);
lean_inc(x_752);
lean_dec(x_1);
lean_inc(x_722);
x_774 = l___private_Lean_Shell_0__Lean_setConfigOption(x_752, x_722);
if (lean_obj_tag(x_774) == 0)
{
lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; 
x_775 = lean_ctor_get(x_774, 0);
lean_inc(x_775);
if (lean_is_exclusive(x_774)) {
 lean_ctor_release(x_774, 0);
 x_776 = x_774;
} else {
 lean_dec_ref(x_774);
 x_776 = lean_box(0);
}
x_777 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9;
x_778 = lean_string_append(x_777, x_722);
lean_dec(x_722);
x_779 = lean_array_push(x_753, x_778);
x_780 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_780, 0, x_775);
lean_ctor_set(x_780, 1, x_779);
lean_ctor_set(x_780, 2, x_761);
lean_ctor_set(x_780, 3, x_764);
lean_ctor_set(x_780, 4, x_765);
lean_ctor_set(x_780, 5, x_766);
lean_ctor_set(x_780, 6, x_767);
lean_ctor_set(x_780, 7, x_768);
lean_ctor_set(x_780, 8, x_769);
lean_ctor_set(x_780, 9, x_771);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 8, x_754);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 9, x_755);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 10, x_756);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 11, x_757);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 12, x_758);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 13, x_759);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 14, x_760);
lean_ctor_set_uint32(x_780, sizeof(void*)*10, x_762);
lean_ctor_set_uint32(x_780, sizeof(void*)*10 + 4, x_763);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 15, x_770);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 16, x_772);
lean_ctor_set_uint8(x_780, sizeof(void*)*10 + 17, x_773);
if (lean_is_scalar(x_776)) {
 x_781 = lean_alloc_ctor(0, 1, 0);
} else {
 x_781 = x_776;
}
lean_ctor_set(x_781, 0, x_780);
return x_781;
}
else
{
lean_object* x_782; lean_object* x_783; lean_object* x_787; lean_object* x_788; 
lean_dec_ref(x_771);
lean_dec(x_769);
lean_dec(x_768);
lean_dec(x_767);
lean_dec(x_766);
lean_dec(x_765);
lean_dec(x_764);
lean_dec(x_761);
lean_dec_ref(x_753);
lean_dec(x_722);
x_782 = lean_ctor_get(x_774, 0);
lean_inc(x_782);
lean_dec_ref(x_774);
x_787 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_788 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_787);
lean_dec_ref(x_788);
x_783 = lean_box(0);
goto block_786;
block_786:
{
lean_object* x_784; lean_object* x_785; 
x_784 = lean_io_error_to_string(x_782);
x_785 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_784);
lean_dec_ref(x_785);
x_101 = lean_box(0);
goto block_104;
}
}
}
}
else
{
lean_object* x_789; lean_object* x_790; lean_object* x_794; lean_object* x_795; 
lean_dec_ref(x_1);
x_789 = lean_ctor_get(x_721, 0);
lean_inc(x_789);
lean_dec_ref(x_721);
x_794 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_795 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_794);
lean_dec_ref(x_795);
x_790 = lean_box(0);
goto block_793;
block_793:
{
lean_object* x_791; lean_object* x_792; 
x_791 = lean_io_error_to_string(x_789);
x_792 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_791);
lean_dec_ref(x_792);
x_194 = lean_box(0);
goto block_197;
}
}
}
}
else
{
uint8_t x_796; 
lean_dec(x_3);
x_796 = !lean_is_exclusive(x_1);
if (x_796 == 0)
{
lean_object* x_797; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 10, x_309);
x_797 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_797, 0, x_1);
return x_797;
}
else
{
lean_object* x_798; lean_object* x_799; uint8_t x_800; uint8_t x_801; uint8_t x_802; uint8_t x_803; uint8_t x_804; uint8_t x_805; lean_object* x_806; uint32_t x_807; uint32_t x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; uint8_t x_815; lean_object* x_816; uint8_t x_817; uint8_t x_818; lean_object* x_819; lean_object* x_820; 
x_798 = lean_ctor_get(x_1, 0);
x_799 = lean_ctor_get(x_1, 1);
x_800 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_801 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_802 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_803 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_804 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_805 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_806 = lean_ctor_get(x_1, 2);
x_807 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_808 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_809 = lean_ctor_get(x_1, 3);
x_810 = lean_ctor_get(x_1, 4);
x_811 = lean_ctor_get(x_1, 5);
x_812 = lean_ctor_get(x_1, 6);
x_813 = lean_ctor_get(x_1, 7);
x_814 = lean_ctor_get(x_1, 8);
x_815 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_816 = lean_ctor_get(x_1, 9);
x_817 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_818 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_816);
lean_inc(x_814);
lean_inc(x_813);
lean_inc(x_812);
lean_inc(x_811);
lean_inc(x_810);
lean_inc(x_809);
lean_inc(x_806);
lean_inc(x_799);
lean_inc(x_798);
lean_dec(x_1);
x_819 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_819, 0, x_798);
lean_ctor_set(x_819, 1, x_799);
lean_ctor_set(x_819, 2, x_806);
lean_ctor_set(x_819, 3, x_809);
lean_ctor_set(x_819, 4, x_810);
lean_ctor_set(x_819, 5, x_811);
lean_ctor_set(x_819, 6, x_812);
lean_ctor_set(x_819, 7, x_813);
lean_ctor_set(x_819, 8, x_814);
lean_ctor_set(x_819, 9, x_816);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 8, x_800);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 9, x_801);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 10, x_309);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 11, x_802);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 12, x_803);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 13, x_804);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 14, x_805);
lean_ctor_set_uint32(x_819, sizeof(void*)*10, x_807);
lean_ctor_set_uint32(x_819, sizeof(void*)*10 + 4, x_808);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 15, x_815);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 16, x_817);
lean_ctor_set_uint8(x_819, sizeof(void*)*10 + 17, x_818);
x_820 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_820, 0, x_819);
return x_820;
}
}
}
else
{
uint8_t x_821; 
lean_dec(x_3);
x_821 = !lean_is_exclusive(x_1);
if (x_821 == 0)
{
lean_object* x_822; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 9, x_307);
x_822 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_822, 0, x_1);
return x_822;
}
else
{
lean_object* x_823; lean_object* x_824; uint8_t x_825; uint8_t x_826; uint8_t x_827; uint8_t x_828; uint8_t x_829; uint8_t x_830; lean_object* x_831; uint32_t x_832; uint32_t x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; uint8_t x_840; lean_object* x_841; uint8_t x_842; uint8_t x_843; lean_object* x_844; lean_object* x_845; 
x_823 = lean_ctor_get(x_1, 0);
x_824 = lean_ctor_get(x_1, 1);
x_825 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_826 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_827 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_828 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_829 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_830 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_831 = lean_ctor_get(x_1, 2);
x_832 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_833 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_834 = lean_ctor_get(x_1, 3);
x_835 = lean_ctor_get(x_1, 4);
x_836 = lean_ctor_get(x_1, 5);
x_837 = lean_ctor_get(x_1, 6);
x_838 = lean_ctor_get(x_1, 7);
x_839 = lean_ctor_get(x_1, 8);
x_840 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_841 = lean_ctor_get(x_1, 9);
x_842 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_843 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_841);
lean_inc(x_839);
lean_inc(x_838);
lean_inc(x_837);
lean_inc(x_836);
lean_inc(x_835);
lean_inc(x_834);
lean_inc(x_831);
lean_inc(x_824);
lean_inc(x_823);
lean_dec(x_1);
x_844 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_844, 0, x_823);
lean_ctor_set(x_844, 1, x_824);
lean_ctor_set(x_844, 2, x_831);
lean_ctor_set(x_844, 3, x_834);
lean_ctor_set(x_844, 4, x_835);
lean_ctor_set(x_844, 5, x_836);
lean_ctor_set(x_844, 6, x_837);
lean_ctor_set(x_844, 7, x_838);
lean_ctor_set(x_844, 8, x_839);
lean_ctor_set(x_844, 9, x_841);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 8, x_825);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 9, x_307);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 10, x_826);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 11, x_827);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 12, x_828);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 13, x_829);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 14, x_830);
lean_ctor_set_uint32(x_844, sizeof(void*)*10, x_832);
lean_ctor_set_uint32(x_844, sizeof(void*)*10 + 4, x_833);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 15, x_840);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 16, x_842);
lean_ctor_set_uint8(x_844, sizeof(void*)*10 + 17, x_843);
x_845 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_845, 0, x_844);
return x_845;
}
}
}
else
{
uint8_t x_846; 
lean_dec(x_3);
x_846 = !lean_is_exclusive(x_1);
if (x_846 == 0)
{
lean_object* x_847; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 16, x_305);
x_847 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_847, 0, x_1);
return x_847;
}
else
{
lean_object* x_848; lean_object* x_849; uint8_t x_850; uint8_t x_851; uint8_t x_852; uint8_t x_853; uint8_t x_854; uint8_t x_855; uint8_t x_856; lean_object* x_857; uint32_t x_858; uint32_t x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; uint8_t x_866; lean_object* x_867; uint8_t x_868; lean_object* x_869; lean_object* x_870; 
x_848 = lean_ctor_get(x_1, 0);
x_849 = lean_ctor_get(x_1, 1);
x_850 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_851 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_852 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_853 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_854 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_855 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_856 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_857 = lean_ctor_get(x_1, 2);
x_858 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_859 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_860 = lean_ctor_get(x_1, 3);
x_861 = lean_ctor_get(x_1, 4);
x_862 = lean_ctor_get(x_1, 5);
x_863 = lean_ctor_get(x_1, 6);
x_864 = lean_ctor_get(x_1, 7);
x_865 = lean_ctor_get(x_1, 8);
x_866 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_867 = lean_ctor_get(x_1, 9);
x_868 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_867);
lean_inc(x_865);
lean_inc(x_864);
lean_inc(x_863);
lean_inc(x_862);
lean_inc(x_861);
lean_inc(x_860);
lean_inc(x_857);
lean_inc(x_849);
lean_inc(x_848);
lean_dec(x_1);
x_869 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_869, 0, x_848);
lean_ctor_set(x_869, 1, x_849);
lean_ctor_set(x_869, 2, x_857);
lean_ctor_set(x_869, 3, x_860);
lean_ctor_set(x_869, 4, x_861);
lean_ctor_set(x_869, 5, x_862);
lean_ctor_set(x_869, 6, x_863);
lean_ctor_set(x_869, 7, x_864);
lean_ctor_set(x_869, 8, x_865);
lean_ctor_set(x_869, 9, x_867);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 8, x_850);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 9, x_851);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 10, x_852);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 11, x_853);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 12, x_854);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 13, x_855);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 14, x_856);
lean_ctor_set_uint32(x_869, sizeof(void*)*10, x_858);
lean_ctor_set_uint32(x_869, sizeof(void*)*10 + 4, x_859);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 15, x_866);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 16, x_305);
lean_ctor_set_uint8(x_869, sizeof(void*)*10 + 17, x_868);
x_870 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_870, 0, x_869);
return x_870;
}
}
}
else
{
uint8_t x_871; 
lean_dec(x_3);
x_871 = !lean_is_exclusive(x_1);
if (x_871 == 0)
{
lean_object* x_872; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 15, x_303);
x_872 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_872, 0, x_1);
return x_872;
}
else
{
lean_object* x_873; lean_object* x_874; uint8_t x_875; uint8_t x_876; uint8_t x_877; uint8_t x_878; uint8_t x_879; uint8_t x_880; uint8_t x_881; lean_object* x_882; uint32_t x_883; uint32_t x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; uint8_t x_892; uint8_t x_893; lean_object* x_894; lean_object* x_895; 
x_873 = lean_ctor_get(x_1, 0);
x_874 = lean_ctor_get(x_1, 1);
x_875 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_876 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_877 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_878 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_879 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_880 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_881 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_882 = lean_ctor_get(x_1, 2);
x_883 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_884 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_885 = lean_ctor_get(x_1, 3);
x_886 = lean_ctor_get(x_1, 4);
x_887 = lean_ctor_get(x_1, 5);
x_888 = lean_ctor_get(x_1, 6);
x_889 = lean_ctor_get(x_1, 7);
x_890 = lean_ctor_get(x_1, 8);
x_891 = lean_ctor_get(x_1, 9);
x_892 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_893 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_891);
lean_inc(x_890);
lean_inc(x_889);
lean_inc(x_888);
lean_inc(x_887);
lean_inc(x_886);
lean_inc(x_885);
lean_inc(x_882);
lean_inc(x_874);
lean_inc(x_873);
lean_dec(x_1);
x_894 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_894, 0, x_873);
lean_ctor_set(x_894, 1, x_874);
lean_ctor_set(x_894, 2, x_882);
lean_ctor_set(x_894, 3, x_885);
lean_ctor_set(x_894, 4, x_886);
lean_ctor_set(x_894, 5, x_887);
lean_ctor_set(x_894, 6, x_888);
lean_ctor_set(x_894, 7, x_889);
lean_ctor_set(x_894, 8, x_890);
lean_ctor_set(x_894, 9, x_891);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 8, x_875);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 9, x_876);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 10, x_877);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 11, x_878);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 12, x_879);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 13, x_880);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 14, x_881);
lean_ctor_set_uint32(x_894, sizeof(void*)*10, x_883);
lean_ctor_set_uint32(x_894, sizeof(void*)*10 + 4, x_884);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 15, x_303);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 16, x_892);
lean_ctor_set_uint8(x_894, sizeof(void*)*10 + 17, x_893);
x_895 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_895, 0, x_894);
return x_895;
}
}
}
else
{
uint8_t x_896; 
lean_dec(x_3);
x_896 = !lean_is_exclusive(x_1);
if (x_896 == 0)
{
lean_object* x_897; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 12, x_301);
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 14, x_301);
x_897 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_897, 0, x_1);
return x_897;
}
else
{
lean_object* x_898; lean_object* x_899; uint8_t x_900; uint8_t x_901; uint8_t x_902; uint8_t x_903; uint8_t x_904; lean_object* x_905; uint32_t x_906; uint32_t x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; uint8_t x_914; lean_object* x_915; uint8_t x_916; uint8_t x_917; lean_object* x_918; lean_object* x_919; 
x_898 = lean_ctor_get(x_1, 0);
x_899 = lean_ctor_get(x_1, 1);
x_900 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_901 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_902 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_903 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_904 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_905 = lean_ctor_get(x_1, 2);
x_906 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_907 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_908 = lean_ctor_get(x_1, 3);
x_909 = lean_ctor_get(x_1, 4);
x_910 = lean_ctor_get(x_1, 5);
x_911 = lean_ctor_get(x_1, 6);
x_912 = lean_ctor_get(x_1, 7);
x_913 = lean_ctor_get(x_1, 8);
x_914 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_915 = lean_ctor_get(x_1, 9);
x_916 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_917 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_915);
lean_inc(x_913);
lean_inc(x_912);
lean_inc(x_911);
lean_inc(x_910);
lean_inc(x_909);
lean_inc(x_908);
lean_inc(x_905);
lean_inc(x_899);
lean_inc(x_898);
lean_dec(x_1);
x_918 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_918, 0, x_898);
lean_ctor_set(x_918, 1, x_899);
lean_ctor_set(x_918, 2, x_905);
lean_ctor_set(x_918, 3, x_908);
lean_ctor_set(x_918, 4, x_909);
lean_ctor_set(x_918, 5, x_910);
lean_ctor_set(x_918, 6, x_911);
lean_ctor_set(x_918, 7, x_912);
lean_ctor_set(x_918, 8, x_913);
lean_ctor_set(x_918, 9, x_915);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 8, x_900);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 9, x_901);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 10, x_902);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 11, x_903);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 12, x_301);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 13, x_904);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 14, x_301);
lean_ctor_set_uint32(x_918, sizeof(void*)*10, x_906);
lean_ctor_set_uint32(x_918, sizeof(void*)*10 + 4, x_907);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 15, x_914);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 16, x_916);
lean_ctor_set_uint8(x_918, sizeof(void*)*10 + 17, x_917);
x_919 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_919, 0, x_918);
return x_919;
}
}
}
else
{
uint8_t x_920; 
lean_dec(x_3);
x_920 = !lean_is_exclusive(x_1);
if (x_920 == 0)
{
lean_object* x_921; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 13, x_299);
x_921 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_921, 0, x_1);
return x_921;
}
else
{
lean_object* x_922; lean_object* x_923; uint8_t x_924; uint8_t x_925; uint8_t x_926; uint8_t x_927; uint8_t x_928; uint8_t x_929; lean_object* x_930; uint32_t x_931; uint32_t x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; uint8_t x_939; lean_object* x_940; uint8_t x_941; uint8_t x_942; lean_object* x_943; lean_object* x_944; 
x_922 = lean_ctor_get(x_1, 0);
x_923 = lean_ctor_get(x_1, 1);
x_924 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_925 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_926 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_927 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_928 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_929 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_930 = lean_ctor_get(x_1, 2);
x_931 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_932 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_933 = lean_ctor_get(x_1, 3);
x_934 = lean_ctor_get(x_1, 4);
x_935 = lean_ctor_get(x_1, 5);
x_936 = lean_ctor_get(x_1, 6);
x_937 = lean_ctor_get(x_1, 7);
x_938 = lean_ctor_get(x_1, 8);
x_939 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_940 = lean_ctor_get(x_1, 9);
x_941 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_942 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_940);
lean_inc(x_938);
lean_inc(x_937);
lean_inc(x_936);
lean_inc(x_935);
lean_inc(x_934);
lean_inc(x_933);
lean_inc(x_930);
lean_inc(x_923);
lean_inc(x_922);
lean_dec(x_1);
x_943 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_943, 0, x_922);
lean_ctor_set(x_943, 1, x_923);
lean_ctor_set(x_943, 2, x_930);
lean_ctor_set(x_943, 3, x_933);
lean_ctor_set(x_943, 4, x_934);
lean_ctor_set(x_943, 5, x_935);
lean_ctor_set(x_943, 6, x_936);
lean_ctor_set(x_943, 7, x_937);
lean_ctor_set(x_943, 8, x_938);
lean_ctor_set(x_943, 9, x_940);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 8, x_924);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 9, x_925);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 10, x_926);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 11, x_927);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 12, x_928);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 13, x_299);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 14, x_929);
lean_ctor_set_uint32(x_943, sizeof(void*)*10, x_931);
lean_ctor_set_uint32(x_943, sizeof(void*)*10 + 4, x_932);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 15, x_939);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 16, x_941);
lean_ctor_set_uint8(x_943, sizeof(void*)*10 + 17, x_942);
x_944 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_944, 0, x_943);
return x_944;
}
}
}
else
{
uint8_t x_945; 
lean_dec(x_3);
x_945 = !lean_is_exclusive(x_1);
if (x_945 == 0)
{
lean_object* x_946; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 12, x_297);
x_946 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_946, 0, x_1);
return x_946;
}
else
{
lean_object* x_947; lean_object* x_948; uint8_t x_949; uint8_t x_950; uint8_t x_951; uint8_t x_952; uint8_t x_953; uint8_t x_954; lean_object* x_955; uint32_t x_956; uint32_t x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; uint8_t x_964; lean_object* x_965; uint8_t x_966; uint8_t x_967; lean_object* x_968; lean_object* x_969; 
x_947 = lean_ctor_get(x_1, 0);
x_948 = lean_ctor_get(x_1, 1);
x_949 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_950 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_951 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_952 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_953 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_954 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_955 = lean_ctor_get(x_1, 2);
x_956 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_957 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_958 = lean_ctor_get(x_1, 3);
x_959 = lean_ctor_get(x_1, 4);
x_960 = lean_ctor_get(x_1, 5);
x_961 = lean_ctor_get(x_1, 6);
x_962 = lean_ctor_get(x_1, 7);
x_963 = lean_ctor_get(x_1, 8);
x_964 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_965 = lean_ctor_get(x_1, 9);
x_966 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_967 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_965);
lean_inc(x_963);
lean_inc(x_962);
lean_inc(x_961);
lean_inc(x_960);
lean_inc(x_959);
lean_inc(x_958);
lean_inc(x_955);
lean_inc(x_948);
lean_inc(x_947);
lean_dec(x_1);
x_968 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_968, 0, x_947);
lean_ctor_set(x_968, 1, x_948);
lean_ctor_set(x_968, 2, x_955);
lean_ctor_set(x_968, 3, x_958);
lean_ctor_set(x_968, 4, x_959);
lean_ctor_set(x_968, 5, x_960);
lean_ctor_set(x_968, 6, x_961);
lean_ctor_set(x_968, 7, x_962);
lean_ctor_set(x_968, 8, x_963);
lean_ctor_set(x_968, 9, x_965);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 8, x_949);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 9, x_950);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 10, x_951);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 11, x_952);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 12, x_297);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 13, x_953);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 14, x_954);
lean_ctor_set_uint32(x_968, sizeof(void*)*10, x_956);
lean_ctor_set_uint32(x_968, sizeof(void*)*10 + 4, x_957);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 15, x_964);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 16, x_966);
lean_ctor_set_uint8(x_968, sizeof(void*)*10 + 17, x_967);
x_969 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_969, 0, x_968);
return x_969;
}
}
}
else
{
uint8_t x_970; 
lean_dec(x_3);
x_970 = !lean_is_exclusive(x_1);
if (x_970 == 0)
{
lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; 
x_971 = lean_ctor_get(x_1, 0);
x_972 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__10;
x_973 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1(x_971, x_972, x_293);
lean_ctor_set(x_1, 0, x_973);
x_974 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_974, 0, x_1);
return x_974;
}
else
{
lean_object* x_975; lean_object* x_976; uint8_t x_977; uint8_t x_978; uint8_t x_979; uint8_t x_980; uint8_t x_981; uint8_t x_982; uint8_t x_983; lean_object* x_984; uint32_t x_985; uint32_t x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; uint8_t x_993; lean_object* x_994; uint8_t x_995; uint8_t x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; 
x_975 = lean_ctor_get(x_1, 0);
x_976 = lean_ctor_get(x_1, 1);
x_977 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_978 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_979 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_980 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_981 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_982 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_983 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_984 = lean_ctor_get(x_1, 2);
x_985 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_986 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_987 = lean_ctor_get(x_1, 3);
x_988 = lean_ctor_get(x_1, 4);
x_989 = lean_ctor_get(x_1, 5);
x_990 = lean_ctor_get(x_1, 6);
x_991 = lean_ctor_get(x_1, 7);
x_992 = lean_ctor_get(x_1, 8);
x_993 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_994 = lean_ctor_get(x_1, 9);
x_995 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_996 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_994);
lean_inc(x_992);
lean_inc(x_991);
lean_inc(x_990);
lean_inc(x_989);
lean_inc(x_988);
lean_inc(x_987);
lean_inc(x_984);
lean_inc(x_976);
lean_inc(x_975);
lean_dec(x_1);
x_997 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__10;
x_998 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1(x_975, x_997, x_293);
x_999 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_999, 0, x_998);
lean_ctor_set(x_999, 1, x_976);
lean_ctor_set(x_999, 2, x_984);
lean_ctor_set(x_999, 3, x_987);
lean_ctor_set(x_999, 4, x_988);
lean_ctor_set(x_999, 5, x_989);
lean_ctor_set(x_999, 6, x_990);
lean_ctor_set(x_999, 7, x_991);
lean_ctor_set(x_999, 8, x_992);
lean_ctor_set(x_999, 9, x_994);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 8, x_977);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 9, x_978);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 10, x_979);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 11, x_980);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 12, x_981);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 13, x_982);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 14, x_983);
lean_ctor_set_uint32(x_999, sizeof(void*)*10, x_985);
lean_ctor_set_uint32(x_999, sizeof(void*)*10 + 4, x_986);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 15, x_993);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 16, x_995);
lean_ctor_set_uint8(x_999, sizeof(void*)*10 + 17, x_996);
x_1000 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1000, 0, x_999);
return x_1000;
}
}
}
else
{
lean_object* x_1001; lean_object* x_1002; 
x_1001 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__11;
x_1002 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1001, x_3);
if (lean_obj_tag(x_1002) == 0)
{
uint8_t x_1003; 
x_1003 = !lean_is_exclusive(x_1002);
if (x_1003 == 0)
{
lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; 
x_1004 = lean_ctor_get(x_1002, 0);
x_1005 = lean_unsigned_to_nat(0u);
x_1006 = lean_string_utf8_byte_size(x_1004);
lean_inc(x_1004);
x_1007 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1007, 0, x_1004);
lean_ctor_set(x_1007, 1, x_1005);
lean_ctor_set(x_1007, 2, x_1006);
x_1008 = l_String_Slice_toNat_x3f(x_1007);
lean_dec_ref(x_1007);
if (lean_obj_tag(x_1008) == 1)
{
lean_object* x_1009; lean_object* x_1010; uint8_t x_1011; 
x_1009 = lean_ctor_get(x_1008, 0);
lean_inc(x_1009);
lean_dec_ref(x_1008);
x_1010 = lean_cstr_to_nat("4294967296");
x_1011 = lean_nat_dec_lt(x_1009, x_1010);
if (x_1011 == 0)
{
lean_object* x_1012; lean_object* x_1013; 
lean_dec(x_1009);
lean_free_object(x_1002);
lean_dec(x_1004);
lean_dec_ref(x_1);
x_1012 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__12;
x_1013 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1012);
lean_dec_ref(x_1013);
x_93 = lean_box(0);
goto block_96;
}
else
{
uint8_t x_1014; 
x_1014 = !lean_is_exclusive(x_1);
if (x_1014 == 0)
{
lean_object* x_1015; uint32_t x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; 
x_1015 = lean_ctor_get(x_1, 1);
x_1016 = lean_uint32_of_nat(x_1009);
lean_dec(x_1009);
x_1017 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13;
x_1018 = lean_string_append(x_1017, x_1004);
lean_dec(x_1004);
x_1019 = lean_array_push(x_1015, x_1018);
lean_ctor_set(x_1, 1, x_1019);
lean_ctor_set_uint32(x_1, sizeof(void*)*10, x_1016);
lean_ctor_set(x_1002, 0, x_1);
return x_1002;
}
else
{
lean_object* x_1020; lean_object* x_1021; uint8_t x_1022; uint8_t x_1023; uint8_t x_1024; uint8_t x_1025; uint8_t x_1026; uint8_t x_1027; uint8_t x_1028; lean_object* x_1029; uint32_t x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; uint8_t x_1037; lean_object* x_1038; uint8_t x_1039; uint8_t x_1040; uint32_t x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; 
x_1020 = lean_ctor_get(x_1, 0);
x_1021 = lean_ctor_get(x_1, 1);
x_1022 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1023 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1024 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1025 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1026 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1027 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1028 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1029 = lean_ctor_get(x_1, 2);
x_1030 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1031 = lean_ctor_get(x_1, 3);
x_1032 = lean_ctor_get(x_1, 4);
x_1033 = lean_ctor_get(x_1, 5);
x_1034 = lean_ctor_get(x_1, 6);
x_1035 = lean_ctor_get(x_1, 7);
x_1036 = lean_ctor_get(x_1, 8);
x_1037 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1038 = lean_ctor_get(x_1, 9);
x_1039 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1040 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1038);
lean_inc(x_1036);
lean_inc(x_1035);
lean_inc(x_1034);
lean_inc(x_1033);
lean_inc(x_1032);
lean_inc(x_1031);
lean_inc(x_1029);
lean_inc(x_1021);
lean_inc(x_1020);
lean_dec(x_1);
x_1041 = lean_uint32_of_nat(x_1009);
lean_dec(x_1009);
x_1042 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13;
x_1043 = lean_string_append(x_1042, x_1004);
lean_dec(x_1004);
x_1044 = lean_array_push(x_1021, x_1043);
x_1045 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1045, 0, x_1020);
lean_ctor_set(x_1045, 1, x_1044);
lean_ctor_set(x_1045, 2, x_1029);
lean_ctor_set(x_1045, 3, x_1031);
lean_ctor_set(x_1045, 4, x_1032);
lean_ctor_set(x_1045, 5, x_1033);
lean_ctor_set(x_1045, 6, x_1034);
lean_ctor_set(x_1045, 7, x_1035);
lean_ctor_set(x_1045, 8, x_1036);
lean_ctor_set(x_1045, 9, x_1038);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 8, x_1022);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 9, x_1023);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 10, x_1024);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 11, x_1025);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 12, x_1026);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 13, x_1027);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 14, x_1028);
lean_ctor_set_uint32(x_1045, sizeof(void*)*10, x_1041);
lean_ctor_set_uint32(x_1045, sizeof(void*)*10 + 4, x_1030);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 15, x_1037);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 16, x_1039);
lean_ctor_set_uint8(x_1045, sizeof(void*)*10 + 17, x_1040);
lean_ctor_set(x_1002, 0, x_1045);
return x_1002;
}
}
}
else
{
lean_object* x_1046; lean_object* x_1047; 
lean_dec(x_1008);
lean_free_object(x_1002);
lean_dec(x_1004);
lean_dec_ref(x_1);
x_1046 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__14;
x_1047 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1046);
lean_dec_ref(x_1047);
x_89 = lean_box(0);
goto block_92;
}
}
else
{
lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; 
x_1048 = lean_ctor_get(x_1002, 0);
lean_inc(x_1048);
lean_dec(x_1002);
x_1049 = lean_unsigned_to_nat(0u);
x_1050 = lean_string_utf8_byte_size(x_1048);
lean_inc(x_1048);
x_1051 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1051, 0, x_1048);
lean_ctor_set(x_1051, 1, x_1049);
lean_ctor_set(x_1051, 2, x_1050);
x_1052 = l_String_Slice_toNat_x3f(x_1051);
lean_dec_ref(x_1051);
if (lean_obj_tag(x_1052) == 1)
{
lean_object* x_1053; lean_object* x_1054; uint8_t x_1055; 
x_1053 = lean_ctor_get(x_1052, 0);
lean_inc(x_1053);
lean_dec_ref(x_1052);
x_1054 = lean_cstr_to_nat("4294967296");
x_1055 = lean_nat_dec_lt(x_1053, x_1054);
if (x_1055 == 0)
{
lean_object* x_1056; lean_object* x_1057; 
lean_dec(x_1053);
lean_dec(x_1048);
lean_dec_ref(x_1);
x_1056 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__12;
x_1057 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1056);
lean_dec_ref(x_1057);
x_93 = lean_box(0);
goto block_96;
}
else
{
lean_object* x_1058; lean_object* x_1059; uint8_t x_1060; uint8_t x_1061; uint8_t x_1062; uint8_t x_1063; uint8_t x_1064; uint8_t x_1065; uint8_t x_1066; lean_object* x_1067; uint32_t x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; uint8_t x_1075; lean_object* x_1076; uint8_t x_1077; uint8_t x_1078; lean_object* x_1079; uint32_t x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; 
x_1058 = lean_ctor_get(x_1, 0);
lean_inc(x_1058);
x_1059 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1059);
x_1060 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1061 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1062 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1063 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1064 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1065 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1066 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1067 = lean_ctor_get(x_1, 2);
lean_inc(x_1067);
x_1068 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1069 = lean_ctor_get(x_1, 3);
lean_inc(x_1069);
x_1070 = lean_ctor_get(x_1, 4);
lean_inc(x_1070);
x_1071 = lean_ctor_get(x_1, 5);
lean_inc(x_1071);
x_1072 = lean_ctor_get(x_1, 6);
lean_inc(x_1072);
x_1073 = lean_ctor_get(x_1, 7);
lean_inc(x_1073);
x_1074 = lean_ctor_get(x_1, 8);
lean_inc(x_1074);
x_1075 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1076 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1076);
x_1077 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1078 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1079 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1079 = lean_box(0);
}
x_1080 = lean_uint32_of_nat(x_1053);
lean_dec(x_1053);
x_1081 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13;
x_1082 = lean_string_append(x_1081, x_1048);
lean_dec(x_1048);
x_1083 = lean_array_push(x_1059, x_1082);
if (lean_is_scalar(x_1079)) {
 x_1084 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1084 = x_1079;
}
lean_ctor_set(x_1084, 0, x_1058);
lean_ctor_set(x_1084, 1, x_1083);
lean_ctor_set(x_1084, 2, x_1067);
lean_ctor_set(x_1084, 3, x_1069);
lean_ctor_set(x_1084, 4, x_1070);
lean_ctor_set(x_1084, 5, x_1071);
lean_ctor_set(x_1084, 6, x_1072);
lean_ctor_set(x_1084, 7, x_1073);
lean_ctor_set(x_1084, 8, x_1074);
lean_ctor_set(x_1084, 9, x_1076);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 8, x_1060);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 9, x_1061);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 10, x_1062);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 11, x_1063);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 12, x_1064);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 13, x_1065);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 14, x_1066);
lean_ctor_set_uint32(x_1084, sizeof(void*)*10, x_1080);
lean_ctor_set_uint32(x_1084, sizeof(void*)*10 + 4, x_1068);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 15, x_1075);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 16, x_1077);
lean_ctor_set_uint8(x_1084, sizeof(void*)*10 + 17, x_1078);
x_1085 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1085, 0, x_1084);
return x_1085;
}
}
else
{
lean_object* x_1086; lean_object* x_1087; 
lean_dec(x_1052);
lean_dec(x_1048);
lean_dec_ref(x_1);
x_1086 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__14;
x_1087 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1086);
lean_dec_ref(x_1087);
x_89 = lean_box(0);
goto block_92;
}
}
}
else
{
lean_object* x_1088; lean_object* x_1089; lean_object* x_1093; lean_object* x_1094; 
lean_dec_ref(x_1);
x_1088 = lean_ctor_get(x_1002, 0);
lean_inc(x_1088);
lean_dec_ref(x_1002);
x_1093 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1094 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1093);
lean_dec_ref(x_1094);
x_1089 = lean_box(0);
goto block_1092;
block_1092:
{
lean_object* x_1090; lean_object* x_1091; 
x_1090 = lean_io_error_to_string(x_1088);
x_1091 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1090);
lean_dec_ref(x_1091);
x_85 = lean_box(0);
goto block_88;
}
}
}
}
else
{
lean_object* x_1095; lean_object* x_1096; 
x_1095 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__15;
x_1096 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1095, x_3);
if (lean_obj_tag(x_1096) == 0)
{
uint8_t x_1097; 
x_1097 = !lean_is_exclusive(x_1096);
if (x_1097 == 0)
{
lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; 
x_1098 = lean_ctor_get(x_1096, 0);
x_1099 = lean_unsigned_to_nat(0u);
x_1100 = lean_string_utf8_byte_size(x_1098);
lean_inc(x_1098);
x_1101 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1101, 0, x_1098);
lean_ctor_set(x_1101, 1, x_1099);
lean_ctor_set(x_1101, 2, x_1100);
x_1102 = l_String_Slice_toNat_x3f(x_1101);
lean_dec_ref(x_1101);
if (lean_obj_tag(x_1102) == 1)
{
lean_object* x_1103; uint8_t x_1104; 
x_1103 = lean_ctor_get(x_1102, 0);
lean_inc(x_1103);
lean_dec_ref(x_1102);
x_1104 = !lean_is_exclusive(x_1);
if (x_1104 == 0)
{
lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; 
x_1105 = lean_ctor_get(x_1, 0);
x_1106 = lean_ctor_get(x_1, 1);
x_1107 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16;
x_1108 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(x_1105, x_1107, x_1103);
x_1109 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17;
x_1110 = lean_string_append(x_1109, x_1098);
lean_dec(x_1098);
x_1111 = lean_array_push(x_1106, x_1110);
lean_ctor_set(x_1, 1, x_1111);
lean_ctor_set(x_1, 0, x_1108);
lean_ctor_set(x_1096, 0, x_1);
return x_1096;
}
else
{
lean_object* x_1112; lean_object* x_1113; uint8_t x_1114; uint8_t x_1115; uint8_t x_1116; uint8_t x_1117; uint8_t x_1118; uint8_t x_1119; uint8_t x_1120; lean_object* x_1121; uint32_t x_1122; uint32_t x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; uint8_t x_1130; lean_object* x_1131; uint8_t x_1132; uint8_t x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; 
x_1112 = lean_ctor_get(x_1, 0);
x_1113 = lean_ctor_get(x_1, 1);
x_1114 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1115 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1116 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1117 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1118 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1119 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1120 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1121 = lean_ctor_get(x_1, 2);
x_1122 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1123 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1124 = lean_ctor_get(x_1, 3);
x_1125 = lean_ctor_get(x_1, 4);
x_1126 = lean_ctor_get(x_1, 5);
x_1127 = lean_ctor_get(x_1, 6);
x_1128 = lean_ctor_get(x_1, 7);
x_1129 = lean_ctor_get(x_1, 8);
x_1130 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1131 = lean_ctor_get(x_1, 9);
x_1132 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1133 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1131);
lean_inc(x_1129);
lean_inc(x_1128);
lean_inc(x_1127);
lean_inc(x_1126);
lean_inc(x_1125);
lean_inc(x_1124);
lean_inc(x_1121);
lean_inc(x_1113);
lean_inc(x_1112);
lean_dec(x_1);
x_1134 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16;
x_1135 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(x_1112, x_1134, x_1103);
x_1136 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17;
x_1137 = lean_string_append(x_1136, x_1098);
lean_dec(x_1098);
x_1138 = lean_array_push(x_1113, x_1137);
x_1139 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1139, 0, x_1135);
lean_ctor_set(x_1139, 1, x_1138);
lean_ctor_set(x_1139, 2, x_1121);
lean_ctor_set(x_1139, 3, x_1124);
lean_ctor_set(x_1139, 4, x_1125);
lean_ctor_set(x_1139, 5, x_1126);
lean_ctor_set(x_1139, 6, x_1127);
lean_ctor_set(x_1139, 7, x_1128);
lean_ctor_set(x_1139, 8, x_1129);
lean_ctor_set(x_1139, 9, x_1131);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 8, x_1114);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 9, x_1115);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 10, x_1116);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 11, x_1117);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 12, x_1118);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 13, x_1119);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 14, x_1120);
lean_ctor_set_uint32(x_1139, sizeof(void*)*10, x_1122);
lean_ctor_set_uint32(x_1139, sizeof(void*)*10 + 4, x_1123);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 15, x_1130);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 16, x_1132);
lean_ctor_set_uint8(x_1139, sizeof(void*)*10 + 17, x_1133);
lean_ctor_set(x_1096, 0, x_1139);
return x_1096;
}
}
else
{
lean_object* x_1140; lean_object* x_1141; 
lean_dec(x_1102);
lean_free_object(x_1096);
lean_dec(x_1098);
lean_dec_ref(x_1);
x_1140 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__18;
x_1141 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1140);
lean_dec_ref(x_1141);
x_198 = lean_box(0);
goto block_201;
}
}
else
{
lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; 
x_1142 = lean_ctor_get(x_1096, 0);
lean_inc(x_1142);
lean_dec(x_1096);
x_1143 = lean_unsigned_to_nat(0u);
x_1144 = lean_string_utf8_byte_size(x_1142);
lean_inc(x_1142);
x_1145 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1145, 0, x_1142);
lean_ctor_set(x_1145, 1, x_1143);
lean_ctor_set(x_1145, 2, x_1144);
x_1146 = l_String_Slice_toNat_x3f(x_1145);
lean_dec_ref(x_1145);
if (lean_obj_tag(x_1146) == 1)
{
lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; uint8_t x_1150; uint8_t x_1151; uint8_t x_1152; uint8_t x_1153; uint8_t x_1154; uint8_t x_1155; uint8_t x_1156; lean_object* x_1157; uint32_t x_1158; uint32_t x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; uint8_t x_1166; lean_object* x_1167; uint8_t x_1168; uint8_t x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; 
x_1147 = lean_ctor_get(x_1146, 0);
lean_inc(x_1147);
lean_dec_ref(x_1146);
x_1148 = lean_ctor_get(x_1, 0);
lean_inc(x_1148);
x_1149 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1149);
x_1150 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1151 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1152 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1153 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1154 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1155 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1156 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1157 = lean_ctor_get(x_1, 2);
lean_inc(x_1157);
x_1158 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1159 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1160 = lean_ctor_get(x_1, 3);
lean_inc(x_1160);
x_1161 = lean_ctor_get(x_1, 4);
lean_inc(x_1161);
x_1162 = lean_ctor_get(x_1, 5);
lean_inc(x_1162);
x_1163 = lean_ctor_get(x_1, 6);
lean_inc(x_1163);
x_1164 = lean_ctor_get(x_1, 7);
lean_inc(x_1164);
x_1165 = lean_ctor_get(x_1, 8);
lean_inc(x_1165);
x_1166 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1167 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1167);
x_1168 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1169 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1170 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1170 = lean_box(0);
}
x_1171 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16;
x_1172 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(x_1148, x_1171, x_1147);
x_1173 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17;
x_1174 = lean_string_append(x_1173, x_1142);
lean_dec(x_1142);
x_1175 = lean_array_push(x_1149, x_1174);
if (lean_is_scalar(x_1170)) {
 x_1176 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1176 = x_1170;
}
lean_ctor_set(x_1176, 0, x_1172);
lean_ctor_set(x_1176, 1, x_1175);
lean_ctor_set(x_1176, 2, x_1157);
lean_ctor_set(x_1176, 3, x_1160);
lean_ctor_set(x_1176, 4, x_1161);
lean_ctor_set(x_1176, 5, x_1162);
lean_ctor_set(x_1176, 6, x_1163);
lean_ctor_set(x_1176, 7, x_1164);
lean_ctor_set(x_1176, 8, x_1165);
lean_ctor_set(x_1176, 9, x_1167);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 8, x_1150);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 9, x_1151);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 10, x_1152);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 11, x_1153);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 12, x_1154);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 13, x_1155);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 14, x_1156);
lean_ctor_set_uint32(x_1176, sizeof(void*)*10, x_1158);
lean_ctor_set_uint32(x_1176, sizeof(void*)*10 + 4, x_1159);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 15, x_1166);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 16, x_1168);
lean_ctor_set_uint8(x_1176, sizeof(void*)*10 + 17, x_1169);
x_1177 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1177, 0, x_1176);
return x_1177;
}
else
{
lean_object* x_1178; lean_object* x_1179; 
lean_dec(x_1146);
lean_dec(x_1142);
lean_dec_ref(x_1);
x_1178 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__18;
x_1179 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1178);
lean_dec_ref(x_1179);
x_198 = lean_box(0);
goto block_201;
}
}
}
else
{
lean_object* x_1180; lean_object* x_1181; lean_object* x_1185; lean_object* x_1186; 
lean_dec_ref(x_1);
x_1180 = lean_ctor_get(x_1096, 0);
lean_inc(x_1180);
lean_dec_ref(x_1096);
x_1185 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1186 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1185);
lean_dec_ref(x_1186);
x_1181 = lean_box(0);
goto block_1184;
block_1184:
{
lean_object* x_1182; lean_object* x_1183; 
x_1182 = lean_io_error_to_string(x_1180);
x_1183 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1182);
lean_dec_ref(x_1183);
x_206 = lean_box(0);
goto block_209;
}
}
}
}
else
{
lean_object* x_1187; lean_object* x_1188; 
x_1187 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__19;
x_1188 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1187, x_3);
if (lean_obj_tag(x_1188) == 0)
{
uint8_t x_1189; 
x_1189 = !lean_is_exclusive(x_1188);
if (x_1189 == 0)
{
lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; 
x_1190 = lean_ctor_get(x_1188, 0);
x_1191 = lean_unsigned_to_nat(0u);
x_1192 = lean_string_utf8_byte_size(x_1190);
lean_inc(x_1190);
x_1193 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1193, 0, x_1190);
lean_ctor_set(x_1193, 1, x_1191);
lean_ctor_set(x_1193, 2, x_1192);
x_1194 = l_String_Slice_toNat_x3f(x_1193);
lean_dec_ref(x_1193);
if (lean_obj_tag(x_1194) == 1)
{
lean_object* x_1195; uint8_t x_1196; 
x_1195 = lean_ctor_get(x_1194, 0);
lean_inc(x_1195);
lean_dec_ref(x_1194);
x_1196 = !lean_is_exclusive(x_1);
if (x_1196 == 0)
{
lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; 
x_1197 = lean_ctor_get(x_1, 0);
x_1198 = lean_ctor_get(x_1, 1);
x_1199 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20;
x_1200 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(x_1197, x_1199, x_1195);
x_1201 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21;
x_1202 = lean_string_append(x_1201, x_1190);
lean_dec(x_1190);
x_1203 = lean_array_push(x_1198, x_1202);
lean_ctor_set(x_1, 1, x_1203);
lean_ctor_set(x_1, 0, x_1200);
lean_ctor_set(x_1188, 0, x_1);
return x_1188;
}
else
{
lean_object* x_1204; lean_object* x_1205; uint8_t x_1206; uint8_t x_1207; uint8_t x_1208; uint8_t x_1209; uint8_t x_1210; uint8_t x_1211; uint8_t x_1212; lean_object* x_1213; uint32_t x_1214; uint32_t x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; uint8_t x_1222; lean_object* x_1223; uint8_t x_1224; uint8_t x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; 
x_1204 = lean_ctor_get(x_1, 0);
x_1205 = lean_ctor_get(x_1, 1);
x_1206 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1207 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1208 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1209 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1210 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1211 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1212 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1213 = lean_ctor_get(x_1, 2);
x_1214 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1215 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1216 = lean_ctor_get(x_1, 3);
x_1217 = lean_ctor_get(x_1, 4);
x_1218 = lean_ctor_get(x_1, 5);
x_1219 = lean_ctor_get(x_1, 6);
x_1220 = lean_ctor_get(x_1, 7);
x_1221 = lean_ctor_get(x_1, 8);
x_1222 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1223 = lean_ctor_get(x_1, 9);
x_1224 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1225 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1223);
lean_inc(x_1221);
lean_inc(x_1220);
lean_inc(x_1219);
lean_inc(x_1218);
lean_inc(x_1217);
lean_inc(x_1216);
lean_inc(x_1213);
lean_inc(x_1205);
lean_inc(x_1204);
lean_dec(x_1);
x_1226 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20;
x_1227 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(x_1204, x_1226, x_1195);
x_1228 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21;
x_1229 = lean_string_append(x_1228, x_1190);
lean_dec(x_1190);
x_1230 = lean_array_push(x_1205, x_1229);
x_1231 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1231, 0, x_1227);
lean_ctor_set(x_1231, 1, x_1230);
lean_ctor_set(x_1231, 2, x_1213);
lean_ctor_set(x_1231, 3, x_1216);
lean_ctor_set(x_1231, 4, x_1217);
lean_ctor_set(x_1231, 5, x_1218);
lean_ctor_set(x_1231, 6, x_1219);
lean_ctor_set(x_1231, 7, x_1220);
lean_ctor_set(x_1231, 8, x_1221);
lean_ctor_set(x_1231, 9, x_1223);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 8, x_1206);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 9, x_1207);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 10, x_1208);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 11, x_1209);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 12, x_1210);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 13, x_1211);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 14, x_1212);
lean_ctor_set_uint32(x_1231, sizeof(void*)*10, x_1214);
lean_ctor_set_uint32(x_1231, sizeof(void*)*10 + 4, x_1215);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 15, x_1222);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 16, x_1224);
lean_ctor_set_uint8(x_1231, sizeof(void*)*10 + 17, x_1225);
lean_ctor_set(x_1188, 0, x_1231);
return x_1188;
}
}
else
{
lean_object* x_1232; lean_object* x_1233; 
lean_dec(x_1194);
lean_free_object(x_1188);
lean_dec(x_1190);
lean_dec_ref(x_1);
x_1232 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__22;
x_1233 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1232);
lean_dec_ref(x_1233);
x_77 = lean_box(0);
goto block_80;
}
}
else
{
lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; 
x_1234 = lean_ctor_get(x_1188, 0);
lean_inc(x_1234);
lean_dec(x_1188);
x_1235 = lean_unsigned_to_nat(0u);
x_1236 = lean_string_utf8_byte_size(x_1234);
lean_inc(x_1234);
x_1237 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1237, 0, x_1234);
lean_ctor_set(x_1237, 1, x_1235);
lean_ctor_set(x_1237, 2, x_1236);
x_1238 = l_String_Slice_toNat_x3f(x_1237);
lean_dec_ref(x_1237);
if (lean_obj_tag(x_1238) == 1)
{
lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; uint8_t x_1242; uint8_t x_1243; uint8_t x_1244; uint8_t x_1245; uint8_t x_1246; uint8_t x_1247; uint8_t x_1248; lean_object* x_1249; uint32_t x_1250; uint32_t x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; uint8_t x_1258; lean_object* x_1259; uint8_t x_1260; uint8_t x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; 
x_1239 = lean_ctor_get(x_1238, 0);
lean_inc(x_1239);
lean_dec_ref(x_1238);
x_1240 = lean_ctor_get(x_1, 0);
lean_inc(x_1240);
x_1241 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1241);
x_1242 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1243 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1244 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1245 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1246 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1247 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1248 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1249 = lean_ctor_get(x_1, 2);
lean_inc(x_1249);
x_1250 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1251 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1252 = lean_ctor_get(x_1, 3);
lean_inc(x_1252);
x_1253 = lean_ctor_get(x_1, 4);
lean_inc(x_1253);
x_1254 = lean_ctor_get(x_1, 5);
lean_inc(x_1254);
x_1255 = lean_ctor_get(x_1, 6);
lean_inc(x_1255);
x_1256 = lean_ctor_get(x_1, 7);
lean_inc(x_1256);
x_1257 = lean_ctor_get(x_1, 8);
lean_inc(x_1257);
x_1258 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1259 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1259);
x_1260 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1261 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1262 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1262 = lean_box(0);
}
x_1263 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20;
x_1264 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__2(x_1240, x_1263, x_1239);
x_1265 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21;
x_1266 = lean_string_append(x_1265, x_1234);
lean_dec(x_1234);
x_1267 = lean_array_push(x_1241, x_1266);
if (lean_is_scalar(x_1262)) {
 x_1268 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1268 = x_1262;
}
lean_ctor_set(x_1268, 0, x_1264);
lean_ctor_set(x_1268, 1, x_1267);
lean_ctor_set(x_1268, 2, x_1249);
lean_ctor_set(x_1268, 3, x_1252);
lean_ctor_set(x_1268, 4, x_1253);
lean_ctor_set(x_1268, 5, x_1254);
lean_ctor_set(x_1268, 6, x_1255);
lean_ctor_set(x_1268, 7, x_1256);
lean_ctor_set(x_1268, 8, x_1257);
lean_ctor_set(x_1268, 9, x_1259);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 8, x_1242);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 9, x_1243);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 10, x_1244);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 11, x_1245);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 12, x_1246);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 13, x_1247);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 14, x_1248);
lean_ctor_set_uint32(x_1268, sizeof(void*)*10, x_1250);
lean_ctor_set_uint32(x_1268, sizeof(void*)*10 + 4, x_1251);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 15, x_1258);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 16, x_1260);
lean_ctor_set_uint8(x_1268, sizeof(void*)*10 + 17, x_1261);
x_1269 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1269, 0, x_1268);
return x_1269;
}
else
{
lean_object* x_1270; lean_object* x_1271; 
lean_dec(x_1238);
lean_dec(x_1234);
lean_dec_ref(x_1);
x_1270 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__22;
x_1271 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1270);
lean_dec_ref(x_1271);
x_77 = lean_box(0);
goto block_80;
}
}
}
else
{
lean_object* x_1272; lean_object* x_1273; lean_object* x_1277; lean_object* x_1278; 
lean_dec_ref(x_1);
x_1272 = lean_ctor_get(x_1188, 0);
lean_inc(x_1272);
lean_dec_ref(x_1188);
x_1277 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1278 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1277);
lean_dec_ref(x_1278);
x_1273 = lean_box(0);
goto block_1276;
block_1276:
{
lean_object* x_1274; lean_object* x_1275; 
x_1274 = lean_io_error_to_string(x_1272);
x_1275 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1274);
lean_dec_ref(x_1275);
x_73 = lean_box(0);
goto block_76;
}
}
}
}
else
{
lean_object* x_1279; lean_object* x_1280; 
x_1279 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__23;
x_1280 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1279, x_3);
if (lean_obj_tag(x_1280) == 0)
{
uint8_t x_1281; 
x_1281 = !lean_is_exclusive(x_1280);
if (x_1281 == 0)
{
uint8_t x_1282; 
x_1282 = !lean_is_exclusive(x_1);
if (x_1282 == 0)
{
lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; 
x_1283 = lean_ctor_get(x_1280, 0);
x_1284 = lean_ctor_get(x_1, 1);
x_1285 = lean_ctor_get(x_1, 3);
lean_dec(x_1285);
x_1286 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24;
x_1287 = lean_string_append(x_1286, x_1283);
x_1288 = lean_array_push(x_1284, x_1287);
x_1289 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1289, 0, x_1283);
lean_ctor_set(x_1, 3, x_1289);
lean_ctor_set(x_1, 1, x_1288);
lean_ctor_set(x_1280, 0, x_1);
return x_1280;
}
else
{
lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; uint8_t x_1293; uint8_t x_1294; uint8_t x_1295; uint8_t x_1296; uint8_t x_1297; uint8_t x_1298; uint8_t x_1299; lean_object* x_1300; uint32_t x_1301; uint32_t x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; uint8_t x_1308; lean_object* x_1309; uint8_t x_1310; uint8_t x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; 
x_1290 = lean_ctor_get(x_1280, 0);
x_1291 = lean_ctor_get(x_1, 0);
x_1292 = lean_ctor_get(x_1, 1);
x_1293 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1294 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1295 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1296 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1297 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1298 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1299 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1300 = lean_ctor_get(x_1, 2);
x_1301 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1302 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1303 = lean_ctor_get(x_1, 4);
x_1304 = lean_ctor_get(x_1, 5);
x_1305 = lean_ctor_get(x_1, 6);
x_1306 = lean_ctor_get(x_1, 7);
x_1307 = lean_ctor_get(x_1, 8);
x_1308 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1309 = lean_ctor_get(x_1, 9);
x_1310 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1311 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1309);
lean_inc(x_1307);
lean_inc(x_1306);
lean_inc(x_1305);
lean_inc(x_1304);
lean_inc(x_1303);
lean_inc(x_1300);
lean_inc(x_1292);
lean_inc(x_1291);
lean_dec(x_1);
x_1312 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24;
x_1313 = lean_string_append(x_1312, x_1290);
x_1314 = lean_array_push(x_1292, x_1313);
x_1315 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1315, 0, x_1290);
x_1316 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1316, 0, x_1291);
lean_ctor_set(x_1316, 1, x_1314);
lean_ctor_set(x_1316, 2, x_1300);
lean_ctor_set(x_1316, 3, x_1315);
lean_ctor_set(x_1316, 4, x_1303);
lean_ctor_set(x_1316, 5, x_1304);
lean_ctor_set(x_1316, 6, x_1305);
lean_ctor_set(x_1316, 7, x_1306);
lean_ctor_set(x_1316, 8, x_1307);
lean_ctor_set(x_1316, 9, x_1309);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 8, x_1293);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 9, x_1294);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 10, x_1295);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 11, x_1296);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 12, x_1297);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 13, x_1298);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 14, x_1299);
lean_ctor_set_uint32(x_1316, sizeof(void*)*10, x_1301);
lean_ctor_set_uint32(x_1316, sizeof(void*)*10 + 4, x_1302);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 15, x_1308);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 16, x_1310);
lean_ctor_set_uint8(x_1316, sizeof(void*)*10 + 17, x_1311);
lean_ctor_set(x_1280, 0, x_1316);
return x_1280;
}
}
else
{
lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; uint8_t x_1320; uint8_t x_1321; uint8_t x_1322; uint8_t x_1323; uint8_t x_1324; uint8_t x_1325; uint8_t x_1326; lean_object* x_1327; uint32_t x_1328; uint32_t x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; uint8_t x_1335; lean_object* x_1336; uint8_t x_1337; uint8_t x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; 
x_1317 = lean_ctor_get(x_1280, 0);
lean_inc(x_1317);
lean_dec(x_1280);
x_1318 = lean_ctor_get(x_1, 0);
lean_inc(x_1318);
x_1319 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1319);
x_1320 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1321 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1322 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1323 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1324 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1325 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1326 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1327 = lean_ctor_get(x_1, 2);
lean_inc(x_1327);
x_1328 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1329 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1330 = lean_ctor_get(x_1, 4);
lean_inc(x_1330);
x_1331 = lean_ctor_get(x_1, 5);
lean_inc(x_1331);
x_1332 = lean_ctor_get(x_1, 6);
lean_inc(x_1332);
x_1333 = lean_ctor_get(x_1, 7);
lean_inc(x_1333);
x_1334 = lean_ctor_get(x_1, 8);
lean_inc(x_1334);
x_1335 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1336 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1336);
x_1337 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1338 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1339 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1339 = lean_box(0);
}
x_1340 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24;
x_1341 = lean_string_append(x_1340, x_1317);
x_1342 = lean_array_push(x_1319, x_1341);
x_1343 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1343, 0, x_1317);
if (lean_is_scalar(x_1339)) {
 x_1344 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1344 = x_1339;
}
lean_ctor_set(x_1344, 0, x_1318);
lean_ctor_set(x_1344, 1, x_1342);
lean_ctor_set(x_1344, 2, x_1327);
lean_ctor_set(x_1344, 3, x_1343);
lean_ctor_set(x_1344, 4, x_1330);
lean_ctor_set(x_1344, 5, x_1331);
lean_ctor_set(x_1344, 6, x_1332);
lean_ctor_set(x_1344, 7, x_1333);
lean_ctor_set(x_1344, 8, x_1334);
lean_ctor_set(x_1344, 9, x_1336);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 8, x_1320);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 9, x_1321);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 10, x_1322);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 11, x_1323);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 12, x_1324);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 13, x_1325);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 14, x_1326);
lean_ctor_set_uint32(x_1344, sizeof(void*)*10, x_1328);
lean_ctor_set_uint32(x_1344, sizeof(void*)*10 + 4, x_1329);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 15, x_1335);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 16, x_1337);
lean_ctor_set_uint8(x_1344, sizeof(void*)*10 + 17, x_1338);
x_1345 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1345, 0, x_1344);
return x_1345;
}
}
else
{
lean_object* x_1346; lean_object* x_1347; lean_object* x_1351; lean_object* x_1352; 
lean_dec_ref(x_1);
x_1346 = lean_ctor_get(x_1280, 0);
lean_inc(x_1346);
lean_dec_ref(x_1280);
x_1351 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1352 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1351);
lean_dec_ref(x_1352);
x_1347 = lean_box(0);
goto block_1350;
block_1350:
{
lean_object* x_1348; lean_object* x_1349; 
x_1348 = lean_io_error_to_string(x_1346);
x_1349 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1348);
lean_dec_ref(x_1349);
x_214 = lean_box(0);
goto block_217;
}
}
}
}
else
{
lean_object* x_1353; lean_object* x_1354; 
x_1353 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__25;
x_1354 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1353, x_3);
if (lean_obj_tag(x_1354) == 0)
{
uint8_t x_1355; 
x_1355 = !lean_is_exclusive(x_1354);
if (x_1355 == 0)
{
uint8_t x_1356; 
x_1356 = !lean_is_exclusive(x_1);
if (x_1356 == 0)
{
lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; 
x_1357 = lean_ctor_get(x_1354, 0);
x_1358 = lean_ctor_get(x_1, 6);
lean_dec(x_1358);
x_1359 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1359, 0, x_1357);
lean_ctor_set(x_1, 6, x_1359);
lean_ctor_set(x_1354, 0, x_1);
return x_1354;
}
else
{
lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; uint8_t x_1363; uint8_t x_1364; uint8_t x_1365; uint8_t x_1366; uint8_t x_1367; uint8_t x_1368; uint8_t x_1369; lean_object* x_1370; uint32_t x_1371; uint32_t x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; uint8_t x_1378; lean_object* x_1379; uint8_t x_1380; uint8_t x_1381; lean_object* x_1382; lean_object* x_1383; 
x_1360 = lean_ctor_get(x_1354, 0);
x_1361 = lean_ctor_get(x_1, 0);
x_1362 = lean_ctor_get(x_1, 1);
x_1363 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1364 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1365 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1366 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1367 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1368 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1369 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1370 = lean_ctor_get(x_1, 2);
x_1371 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1372 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1373 = lean_ctor_get(x_1, 3);
x_1374 = lean_ctor_get(x_1, 4);
x_1375 = lean_ctor_get(x_1, 5);
x_1376 = lean_ctor_get(x_1, 7);
x_1377 = lean_ctor_get(x_1, 8);
x_1378 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1379 = lean_ctor_get(x_1, 9);
x_1380 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1381 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1379);
lean_inc(x_1377);
lean_inc(x_1376);
lean_inc(x_1375);
lean_inc(x_1374);
lean_inc(x_1373);
lean_inc(x_1370);
lean_inc(x_1362);
lean_inc(x_1361);
lean_dec(x_1);
x_1382 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1382, 0, x_1360);
x_1383 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1383, 0, x_1361);
lean_ctor_set(x_1383, 1, x_1362);
lean_ctor_set(x_1383, 2, x_1370);
lean_ctor_set(x_1383, 3, x_1373);
lean_ctor_set(x_1383, 4, x_1374);
lean_ctor_set(x_1383, 5, x_1375);
lean_ctor_set(x_1383, 6, x_1382);
lean_ctor_set(x_1383, 7, x_1376);
lean_ctor_set(x_1383, 8, x_1377);
lean_ctor_set(x_1383, 9, x_1379);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 8, x_1363);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 9, x_1364);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 10, x_1365);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 11, x_1366);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 12, x_1367);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 13, x_1368);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 14, x_1369);
lean_ctor_set_uint32(x_1383, sizeof(void*)*10, x_1371);
lean_ctor_set_uint32(x_1383, sizeof(void*)*10 + 4, x_1372);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 15, x_1378);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 16, x_1380);
lean_ctor_set_uint8(x_1383, sizeof(void*)*10 + 17, x_1381);
lean_ctor_set(x_1354, 0, x_1383);
return x_1354;
}
}
else
{
lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; uint8_t x_1387; uint8_t x_1388; uint8_t x_1389; uint8_t x_1390; uint8_t x_1391; uint8_t x_1392; uint8_t x_1393; lean_object* x_1394; uint32_t x_1395; uint32_t x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; uint8_t x_1402; lean_object* x_1403; uint8_t x_1404; uint8_t x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; 
x_1384 = lean_ctor_get(x_1354, 0);
lean_inc(x_1384);
lean_dec(x_1354);
x_1385 = lean_ctor_get(x_1, 0);
lean_inc(x_1385);
x_1386 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1386);
x_1387 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1388 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1389 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1390 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1391 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1392 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1393 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1394 = lean_ctor_get(x_1, 2);
lean_inc(x_1394);
x_1395 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1396 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1397 = lean_ctor_get(x_1, 3);
lean_inc(x_1397);
x_1398 = lean_ctor_get(x_1, 4);
lean_inc(x_1398);
x_1399 = lean_ctor_get(x_1, 5);
lean_inc(x_1399);
x_1400 = lean_ctor_get(x_1, 7);
lean_inc(x_1400);
x_1401 = lean_ctor_get(x_1, 8);
lean_inc(x_1401);
x_1402 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1403 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1403);
x_1404 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1405 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1406 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1406 = lean_box(0);
}
x_1407 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1407, 0, x_1384);
if (lean_is_scalar(x_1406)) {
 x_1408 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1408 = x_1406;
}
lean_ctor_set(x_1408, 0, x_1385);
lean_ctor_set(x_1408, 1, x_1386);
lean_ctor_set(x_1408, 2, x_1394);
lean_ctor_set(x_1408, 3, x_1397);
lean_ctor_set(x_1408, 4, x_1398);
lean_ctor_set(x_1408, 5, x_1399);
lean_ctor_set(x_1408, 6, x_1407);
lean_ctor_set(x_1408, 7, x_1400);
lean_ctor_set(x_1408, 8, x_1401);
lean_ctor_set(x_1408, 9, x_1403);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 8, x_1387);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 9, x_1388);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 10, x_1389);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 11, x_1390);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 12, x_1391);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 13, x_1392);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 14, x_1393);
lean_ctor_set_uint32(x_1408, sizeof(void*)*10, x_1395);
lean_ctor_set_uint32(x_1408, sizeof(void*)*10 + 4, x_1396);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 15, x_1402);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 16, x_1404);
lean_ctor_set_uint8(x_1408, sizeof(void*)*10 + 17, x_1405);
x_1409 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1409, 0, x_1408);
return x_1409;
}
}
else
{
lean_object* x_1410; lean_object* x_1411; lean_object* x_1415; lean_object* x_1416; 
lean_dec_ref(x_1);
x_1410 = lean_ctor_get(x_1354, 0);
lean_inc(x_1410);
lean_dec_ref(x_1354);
x_1415 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1416 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1415);
lean_dec_ref(x_1416);
x_1411 = lean_box(0);
goto block_1414;
block_1414:
{
lean_object* x_1412; lean_object* x_1413; 
x_1412 = lean_io_error_to_string(x_1410);
x_1413 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1412);
lean_dec_ref(x_1413);
x_65 = lean_box(0);
goto block_68;
}
}
}
}
else
{
lean_object* x_1417; lean_object* x_1418; 
x_1417 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__26;
x_1418 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1417, x_3);
if (lean_obj_tag(x_1418) == 0)
{
uint8_t x_1419; 
x_1419 = !lean_is_exclusive(x_1418);
if (x_1419 == 0)
{
uint8_t x_1420; 
x_1420 = !lean_is_exclusive(x_1);
if (x_1420 == 0)
{
lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; 
x_1421 = lean_ctor_get(x_1418, 0);
x_1422 = lean_ctor_get(x_1, 5);
lean_dec(x_1422);
x_1423 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1423, 0, x_1421);
lean_ctor_set(x_1, 5, x_1423);
lean_ctor_set(x_1418, 0, x_1);
return x_1418;
}
else
{
lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; uint8_t x_1427; uint8_t x_1428; uint8_t x_1429; uint8_t x_1430; uint8_t x_1431; uint8_t x_1432; uint8_t x_1433; lean_object* x_1434; uint32_t x_1435; uint32_t x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; uint8_t x_1442; lean_object* x_1443; uint8_t x_1444; uint8_t x_1445; lean_object* x_1446; lean_object* x_1447; 
x_1424 = lean_ctor_get(x_1418, 0);
x_1425 = lean_ctor_get(x_1, 0);
x_1426 = lean_ctor_get(x_1, 1);
x_1427 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1428 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1429 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1430 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1431 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1432 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1433 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1434 = lean_ctor_get(x_1, 2);
x_1435 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1436 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1437 = lean_ctor_get(x_1, 3);
x_1438 = lean_ctor_get(x_1, 4);
x_1439 = lean_ctor_get(x_1, 6);
x_1440 = lean_ctor_get(x_1, 7);
x_1441 = lean_ctor_get(x_1, 8);
x_1442 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1443 = lean_ctor_get(x_1, 9);
x_1444 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1445 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1443);
lean_inc(x_1441);
lean_inc(x_1440);
lean_inc(x_1439);
lean_inc(x_1438);
lean_inc(x_1437);
lean_inc(x_1434);
lean_inc(x_1426);
lean_inc(x_1425);
lean_dec(x_1);
x_1446 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1446, 0, x_1424);
x_1447 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1447, 0, x_1425);
lean_ctor_set(x_1447, 1, x_1426);
lean_ctor_set(x_1447, 2, x_1434);
lean_ctor_set(x_1447, 3, x_1437);
lean_ctor_set(x_1447, 4, x_1438);
lean_ctor_set(x_1447, 5, x_1446);
lean_ctor_set(x_1447, 6, x_1439);
lean_ctor_set(x_1447, 7, x_1440);
lean_ctor_set(x_1447, 8, x_1441);
lean_ctor_set(x_1447, 9, x_1443);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 8, x_1427);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 9, x_1428);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 10, x_1429);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 11, x_1430);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 12, x_1431);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 13, x_1432);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 14, x_1433);
lean_ctor_set_uint32(x_1447, sizeof(void*)*10, x_1435);
lean_ctor_set_uint32(x_1447, sizeof(void*)*10 + 4, x_1436);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 15, x_1442);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 16, x_1444);
lean_ctor_set_uint8(x_1447, sizeof(void*)*10 + 17, x_1445);
lean_ctor_set(x_1418, 0, x_1447);
return x_1418;
}
}
else
{
lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; uint8_t x_1451; uint8_t x_1452; uint8_t x_1453; uint8_t x_1454; uint8_t x_1455; uint8_t x_1456; uint8_t x_1457; lean_object* x_1458; uint32_t x_1459; uint32_t x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; uint8_t x_1466; lean_object* x_1467; uint8_t x_1468; uint8_t x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; 
x_1448 = lean_ctor_get(x_1418, 0);
lean_inc(x_1448);
lean_dec(x_1418);
x_1449 = lean_ctor_get(x_1, 0);
lean_inc(x_1449);
x_1450 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1450);
x_1451 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1452 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1453 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1454 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1455 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1456 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1457 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1458 = lean_ctor_get(x_1, 2);
lean_inc(x_1458);
x_1459 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1460 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1461 = lean_ctor_get(x_1, 3);
lean_inc(x_1461);
x_1462 = lean_ctor_get(x_1, 4);
lean_inc(x_1462);
x_1463 = lean_ctor_get(x_1, 6);
lean_inc(x_1463);
x_1464 = lean_ctor_get(x_1, 7);
lean_inc(x_1464);
x_1465 = lean_ctor_get(x_1, 8);
lean_inc(x_1465);
x_1466 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1467 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1467);
x_1468 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1469 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1470 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1470 = lean_box(0);
}
x_1471 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1471, 0, x_1448);
if (lean_is_scalar(x_1470)) {
 x_1472 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1472 = x_1470;
}
lean_ctor_set(x_1472, 0, x_1449);
lean_ctor_set(x_1472, 1, x_1450);
lean_ctor_set(x_1472, 2, x_1458);
lean_ctor_set(x_1472, 3, x_1461);
lean_ctor_set(x_1472, 4, x_1462);
lean_ctor_set(x_1472, 5, x_1471);
lean_ctor_set(x_1472, 6, x_1463);
lean_ctor_set(x_1472, 7, x_1464);
lean_ctor_set(x_1472, 8, x_1465);
lean_ctor_set(x_1472, 9, x_1467);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 8, x_1451);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 9, x_1452);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 10, x_1453);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 11, x_1454);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 12, x_1455);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 13, x_1456);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 14, x_1457);
lean_ctor_set_uint32(x_1472, sizeof(void*)*10, x_1459);
lean_ctor_set_uint32(x_1472, sizeof(void*)*10 + 4, x_1460);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 15, x_1466);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 16, x_1468);
lean_ctor_set_uint8(x_1472, sizeof(void*)*10 + 17, x_1469);
x_1473 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1473, 0, x_1472);
return x_1473;
}
}
else
{
lean_object* x_1474; lean_object* x_1475; lean_object* x_1479; lean_object* x_1480; 
lean_dec_ref(x_1);
x_1474 = lean_ctor_get(x_1418, 0);
lean_inc(x_1474);
lean_dec_ref(x_1418);
x_1479 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1480 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1479);
lean_dec_ref(x_1480);
x_1475 = lean_box(0);
goto block_1478;
block_1478:
{
lean_object* x_1476; lean_object* x_1477; 
x_1476 = lean_io_error_to_string(x_1474);
x_1477 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1476);
lean_dec_ref(x_1477);
x_222 = lean_box(0);
goto block_225;
}
}
}
}
else
{
uint8_t x_1481; 
lean_dec(x_3);
x_1481 = !lean_is_exclusive(x_1);
if (x_1481 == 0)
{
lean_object* x_1482; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 17, x_281);
x_1482 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1482, 0, x_1);
return x_1482;
}
else
{
lean_object* x_1483; lean_object* x_1484; uint8_t x_1485; uint8_t x_1486; uint8_t x_1487; uint8_t x_1488; uint8_t x_1489; uint8_t x_1490; uint8_t x_1491; lean_object* x_1492; uint32_t x_1493; uint32_t x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; uint8_t x_1501; lean_object* x_1502; uint8_t x_1503; lean_object* x_1504; lean_object* x_1505; 
x_1483 = lean_ctor_get(x_1, 0);
x_1484 = lean_ctor_get(x_1, 1);
x_1485 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1486 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1487 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1488 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1489 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1490 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1491 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1492 = lean_ctor_get(x_1, 2);
x_1493 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1494 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1495 = lean_ctor_get(x_1, 3);
x_1496 = lean_ctor_get(x_1, 4);
x_1497 = lean_ctor_get(x_1, 5);
x_1498 = lean_ctor_get(x_1, 6);
x_1499 = lean_ctor_get(x_1, 7);
x_1500 = lean_ctor_get(x_1, 8);
x_1501 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1502 = lean_ctor_get(x_1, 9);
x_1503 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
lean_inc(x_1502);
lean_inc(x_1500);
lean_inc(x_1499);
lean_inc(x_1498);
lean_inc(x_1497);
lean_inc(x_1496);
lean_inc(x_1495);
lean_inc(x_1492);
lean_inc(x_1484);
lean_inc(x_1483);
lean_dec(x_1);
x_1504 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1504, 0, x_1483);
lean_ctor_set(x_1504, 1, x_1484);
lean_ctor_set(x_1504, 2, x_1492);
lean_ctor_set(x_1504, 3, x_1495);
lean_ctor_set(x_1504, 4, x_1496);
lean_ctor_set(x_1504, 5, x_1497);
lean_ctor_set(x_1504, 6, x_1498);
lean_ctor_set(x_1504, 7, x_1499);
lean_ctor_set(x_1504, 8, x_1500);
lean_ctor_set(x_1504, 9, x_1502);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 8, x_1485);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 9, x_1486);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 10, x_1487);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 11, x_1488);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 12, x_1489);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 13, x_1490);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 14, x_1491);
lean_ctor_set_uint32(x_1504, sizeof(void*)*10, x_1493);
lean_ctor_set_uint32(x_1504, sizeof(void*)*10 + 4, x_1494);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 15, x_1501);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 16, x_1503);
lean_ctor_set_uint8(x_1504, sizeof(void*)*10 + 17, x_281);
x_1505 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1505, 0, x_1504);
return x_1505;
}
}
}
else
{
uint8_t x_1506; 
lean_dec(x_3);
x_1506 = !lean_is_exclusive(x_1);
if (x_1506 == 0)
{
lean_object* x_1507; 
lean_ctor_set_uint8(x_1, sizeof(void*)*10 + 11, x_279);
x_1507 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1507, 0, x_1);
return x_1507;
}
else
{
lean_object* x_1508; lean_object* x_1509; uint8_t x_1510; uint8_t x_1511; uint8_t x_1512; uint8_t x_1513; uint8_t x_1514; uint8_t x_1515; lean_object* x_1516; uint32_t x_1517; uint32_t x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; uint8_t x_1525; lean_object* x_1526; uint8_t x_1527; uint8_t x_1528; lean_object* x_1529; lean_object* x_1530; 
x_1508 = lean_ctor_get(x_1, 0);
x_1509 = lean_ctor_get(x_1, 1);
x_1510 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1511 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1512 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1513 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1514 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1515 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1516 = lean_ctor_get(x_1, 2);
x_1517 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1518 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1519 = lean_ctor_get(x_1, 3);
x_1520 = lean_ctor_get(x_1, 4);
x_1521 = lean_ctor_get(x_1, 5);
x_1522 = lean_ctor_get(x_1, 6);
x_1523 = lean_ctor_get(x_1, 7);
x_1524 = lean_ctor_get(x_1, 8);
x_1525 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1526 = lean_ctor_get(x_1, 9);
x_1527 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1528 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1526);
lean_inc(x_1524);
lean_inc(x_1523);
lean_inc(x_1522);
lean_inc(x_1521);
lean_inc(x_1520);
lean_inc(x_1519);
lean_inc(x_1516);
lean_inc(x_1509);
lean_inc(x_1508);
lean_dec(x_1);
x_1529 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1529, 0, x_1508);
lean_ctor_set(x_1529, 1, x_1509);
lean_ctor_set(x_1529, 2, x_1516);
lean_ctor_set(x_1529, 3, x_1519);
lean_ctor_set(x_1529, 4, x_1520);
lean_ctor_set(x_1529, 5, x_1521);
lean_ctor_set(x_1529, 6, x_1522);
lean_ctor_set(x_1529, 7, x_1523);
lean_ctor_set(x_1529, 8, x_1524);
lean_ctor_set(x_1529, 9, x_1526);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 8, x_1510);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 9, x_1511);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 10, x_1512);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 11, x_279);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 12, x_1513);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 13, x_1514);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 14, x_1515);
lean_ctor_set_uint32(x_1529, sizeof(void*)*10, x_1517);
lean_ctor_set_uint32(x_1529, sizeof(void*)*10 + 4, x_1518);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 15, x_1525);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 16, x_1527);
lean_ctor_set_uint8(x_1529, sizeof(void*)*10 + 17, x_1528);
x_1530 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1530, 0, x_1529);
return x_1530;
}
}
}
else
{
lean_object* x_1531; lean_object* x_1532; 
x_1531 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__27;
x_1532 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1531, x_3);
if (lean_obj_tag(x_1532) == 0)
{
uint8_t x_1533; 
x_1533 = !lean_is_exclusive(x_1532);
if (x_1533 == 0)
{
lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; 
x_1534 = lean_ctor_get(x_1532, 0);
x_1535 = lean_unsigned_to_nat(0u);
x_1536 = lean_string_utf8_byte_size(x_1534);
lean_inc(x_1534);
x_1537 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1537, 0, x_1534);
lean_ctor_set(x_1537, 1, x_1535);
lean_ctor_set(x_1537, 2, x_1536);
x_1538 = l_String_Slice_toNat_x3f(x_1537);
lean_dec_ref(x_1537);
if (lean_obj_tag(x_1538) == 1)
{
lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; uint8_t x_1547; 
x_1539 = lean_ctor_get(x_1538, 0);
lean_inc(x_1539);
lean_dec_ref(x_1538);
x_1540 = lean_unsigned_to_nat(4u);
x_1541 = lean_unsigned_to_nat(2u);
x_1542 = lean_nat_shiftr(x_1539, x_1541);
lean_dec(x_1539);
x_1543 = lean_nat_mul(x_1542, x_1540);
lean_dec(x_1542);
x_1544 = lean_unsigned_to_nat(1024u);
x_1545 = lean_nat_mul(x_1543, x_1544);
lean_dec(x_1543);
x_1546 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__28;
x_1547 = lean_nat_dec_lt(x_1545, x_1546);
if (x_1547 == 0)
{
lean_object* x_1548; lean_object* x_1549; 
lean_dec(x_1545);
lean_free_object(x_1532);
lean_dec(x_1534);
lean_dec_ref(x_1);
x_1548 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__29;
x_1549 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1548);
lean_dec_ref(x_1549);
x_57 = lean_box(0);
goto block_60;
}
else
{
size_t x_1550; lean_object* x_1551; uint8_t x_1552; 
x_1550 = lean_usize_of_nat(x_1545);
lean_dec(x_1545);
x_1551 = lean_internal_set_thread_stack_size(x_1550);
x_1552 = !lean_is_exclusive(x_1);
if (x_1552 == 0)
{
lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; 
x_1553 = lean_ctor_get(x_1, 1);
x_1554 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30;
x_1555 = lean_string_append(x_1554, x_1534);
lean_dec(x_1534);
x_1556 = lean_array_push(x_1553, x_1555);
lean_ctor_set(x_1, 1, x_1556);
lean_ctor_set(x_1532, 0, x_1);
return x_1532;
}
else
{
lean_object* x_1557; lean_object* x_1558; uint8_t x_1559; uint8_t x_1560; uint8_t x_1561; uint8_t x_1562; uint8_t x_1563; uint8_t x_1564; uint8_t x_1565; lean_object* x_1566; uint32_t x_1567; uint32_t x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; uint8_t x_1575; lean_object* x_1576; uint8_t x_1577; uint8_t x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; 
x_1557 = lean_ctor_get(x_1, 0);
x_1558 = lean_ctor_get(x_1, 1);
x_1559 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1560 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1561 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1562 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1563 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1564 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1565 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1566 = lean_ctor_get(x_1, 2);
x_1567 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1568 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1569 = lean_ctor_get(x_1, 3);
x_1570 = lean_ctor_get(x_1, 4);
x_1571 = lean_ctor_get(x_1, 5);
x_1572 = lean_ctor_get(x_1, 6);
x_1573 = lean_ctor_get(x_1, 7);
x_1574 = lean_ctor_get(x_1, 8);
x_1575 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1576 = lean_ctor_get(x_1, 9);
x_1577 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1578 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1576);
lean_inc(x_1574);
lean_inc(x_1573);
lean_inc(x_1572);
lean_inc(x_1571);
lean_inc(x_1570);
lean_inc(x_1569);
lean_inc(x_1566);
lean_inc(x_1558);
lean_inc(x_1557);
lean_dec(x_1);
x_1579 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30;
x_1580 = lean_string_append(x_1579, x_1534);
lean_dec(x_1534);
x_1581 = lean_array_push(x_1558, x_1580);
x_1582 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1582, 0, x_1557);
lean_ctor_set(x_1582, 1, x_1581);
lean_ctor_set(x_1582, 2, x_1566);
lean_ctor_set(x_1582, 3, x_1569);
lean_ctor_set(x_1582, 4, x_1570);
lean_ctor_set(x_1582, 5, x_1571);
lean_ctor_set(x_1582, 6, x_1572);
lean_ctor_set(x_1582, 7, x_1573);
lean_ctor_set(x_1582, 8, x_1574);
lean_ctor_set(x_1582, 9, x_1576);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 8, x_1559);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 9, x_1560);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 10, x_1561);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 11, x_1562);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 12, x_1563);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 13, x_1564);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 14, x_1565);
lean_ctor_set_uint32(x_1582, sizeof(void*)*10, x_1567);
lean_ctor_set_uint32(x_1582, sizeof(void*)*10 + 4, x_1568);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 15, x_1575);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 16, x_1577);
lean_ctor_set_uint8(x_1582, sizeof(void*)*10 + 17, x_1578);
lean_ctor_set(x_1532, 0, x_1582);
return x_1532;
}
}
}
else
{
lean_object* x_1583; lean_object* x_1584; 
lean_dec(x_1538);
lean_free_object(x_1532);
lean_dec(x_1534);
lean_dec_ref(x_1);
x_1583 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__31;
x_1584 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1583);
lean_dec_ref(x_1584);
x_53 = lean_box(0);
goto block_56;
}
}
else
{
lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; 
x_1585 = lean_ctor_get(x_1532, 0);
lean_inc(x_1585);
lean_dec(x_1532);
x_1586 = lean_unsigned_to_nat(0u);
x_1587 = lean_string_utf8_byte_size(x_1585);
lean_inc(x_1585);
x_1588 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1588, 0, x_1585);
lean_ctor_set(x_1588, 1, x_1586);
lean_ctor_set(x_1588, 2, x_1587);
x_1589 = l_String_Slice_toNat_x3f(x_1588);
lean_dec_ref(x_1588);
if (lean_obj_tag(x_1589) == 1)
{
lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; uint8_t x_1598; 
x_1590 = lean_ctor_get(x_1589, 0);
lean_inc(x_1590);
lean_dec_ref(x_1589);
x_1591 = lean_unsigned_to_nat(4u);
x_1592 = lean_unsigned_to_nat(2u);
x_1593 = lean_nat_shiftr(x_1590, x_1592);
lean_dec(x_1590);
x_1594 = lean_nat_mul(x_1593, x_1591);
lean_dec(x_1593);
x_1595 = lean_unsigned_to_nat(1024u);
x_1596 = lean_nat_mul(x_1594, x_1595);
lean_dec(x_1594);
x_1597 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__28;
x_1598 = lean_nat_dec_lt(x_1596, x_1597);
if (x_1598 == 0)
{
lean_object* x_1599; lean_object* x_1600; 
lean_dec(x_1596);
lean_dec(x_1585);
lean_dec_ref(x_1);
x_1599 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__29;
x_1600 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1599);
lean_dec_ref(x_1600);
x_57 = lean_box(0);
goto block_60;
}
else
{
size_t x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; uint8_t x_1605; uint8_t x_1606; uint8_t x_1607; uint8_t x_1608; uint8_t x_1609; uint8_t x_1610; uint8_t x_1611; lean_object* x_1612; uint32_t x_1613; uint32_t x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; uint8_t x_1621; lean_object* x_1622; uint8_t x_1623; uint8_t x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; 
x_1601 = lean_usize_of_nat(x_1596);
lean_dec(x_1596);
x_1602 = lean_internal_set_thread_stack_size(x_1601);
x_1603 = lean_ctor_get(x_1, 0);
lean_inc(x_1603);
x_1604 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1604);
x_1605 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1606 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1607 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1608 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1609 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1610 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1611 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1612 = lean_ctor_get(x_1, 2);
lean_inc(x_1612);
x_1613 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1614 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1615 = lean_ctor_get(x_1, 3);
lean_inc(x_1615);
x_1616 = lean_ctor_get(x_1, 4);
lean_inc(x_1616);
x_1617 = lean_ctor_get(x_1, 5);
lean_inc(x_1617);
x_1618 = lean_ctor_get(x_1, 6);
lean_inc(x_1618);
x_1619 = lean_ctor_get(x_1, 7);
lean_inc(x_1619);
x_1620 = lean_ctor_get(x_1, 8);
lean_inc(x_1620);
x_1621 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1622 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1622);
x_1623 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1624 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1625 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1625 = lean_box(0);
}
x_1626 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30;
x_1627 = lean_string_append(x_1626, x_1585);
lean_dec(x_1585);
x_1628 = lean_array_push(x_1604, x_1627);
if (lean_is_scalar(x_1625)) {
 x_1629 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1629 = x_1625;
}
lean_ctor_set(x_1629, 0, x_1603);
lean_ctor_set(x_1629, 1, x_1628);
lean_ctor_set(x_1629, 2, x_1612);
lean_ctor_set(x_1629, 3, x_1615);
lean_ctor_set(x_1629, 4, x_1616);
lean_ctor_set(x_1629, 5, x_1617);
lean_ctor_set(x_1629, 6, x_1618);
lean_ctor_set(x_1629, 7, x_1619);
lean_ctor_set(x_1629, 8, x_1620);
lean_ctor_set(x_1629, 9, x_1622);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 8, x_1605);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 9, x_1606);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 10, x_1607);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 11, x_1608);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 12, x_1609);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 13, x_1610);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 14, x_1611);
lean_ctor_set_uint32(x_1629, sizeof(void*)*10, x_1613);
lean_ctor_set_uint32(x_1629, sizeof(void*)*10 + 4, x_1614);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 15, x_1621);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 16, x_1623);
lean_ctor_set_uint8(x_1629, sizeof(void*)*10 + 17, x_1624);
x_1630 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1630, 0, x_1629);
return x_1630;
}
}
else
{
lean_object* x_1631; lean_object* x_1632; 
lean_dec(x_1589);
lean_dec(x_1585);
lean_dec_ref(x_1);
x_1631 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__31;
x_1632 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1631);
lean_dec_ref(x_1632);
x_53 = lean_box(0);
goto block_56;
}
}
}
else
{
lean_object* x_1633; lean_object* x_1634; lean_object* x_1638; lean_object* x_1639; 
lean_dec_ref(x_1);
x_1633 = lean_ctor_get(x_1532, 0);
lean_inc(x_1633);
lean_dec_ref(x_1532);
x_1638 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1639 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1638);
lean_dec_ref(x_1639);
x_1634 = lean_box(0);
goto block_1637;
block_1637:
{
lean_object* x_1635; lean_object* x_1636; 
x_1635 = lean_io_error_to_string(x_1633);
x_1636 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1635);
lean_dec_ref(x_1636);
x_49 = lean_box(0);
goto block_52;
}
}
}
}
else
{
lean_object* x_1640; lean_object* x_1641; 
x_1640 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__32;
x_1641 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1640, x_3);
if (lean_obj_tag(x_1641) == 0)
{
uint8_t x_1642; 
x_1642 = !lean_is_exclusive(x_1641);
if (x_1642 == 0)
{
uint8_t x_1643; 
x_1643 = !lean_is_exclusive(x_1);
if (x_1643 == 0)
{
lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; 
x_1644 = lean_ctor_get(x_1641, 0);
x_1645 = lean_ctor_get(x_1, 8);
lean_dec(x_1645);
x_1646 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1646, 0, x_1644);
lean_ctor_set(x_1, 8, x_1646);
lean_ctor_set(x_1641, 0, x_1);
return x_1641;
}
else
{
lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; uint8_t x_1650; uint8_t x_1651; uint8_t x_1652; uint8_t x_1653; uint8_t x_1654; uint8_t x_1655; uint8_t x_1656; lean_object* x_1657; uint32_t x_1658; uint32_t x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; uint8_t x_1665; lean_object* x_1666; uint8_t x_1667; uint8_t x_1668; lean_object* x_1669; lean_object* x_1670; 
x_1647 = lean_ctor_get(x_1641, 0);
x_1648 = lean_ctor_get(x_1, 0);
x_1649 = lean_ctor_get(x_1, 1);
x_1650 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1651 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1652 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1653 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1654 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1655 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1656 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1657 = lean_ctor_get(x_1, 2);
x_1658 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1659 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1660 = lean_ctor_get(x_1, 3);
x_1661 = lean_ctor_get(x_1, 4);
x_1662 = lean_ctor_get(x_1, 5);
x_1663 = lean_ctor_get(x_1, 6);
x_1664 = lean_ctor_get(x_1, 7);
x_1665 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1666 = lean_ctor_get(x_1, 9);
x_1667 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1668 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1666);
lean_inc(x_1664);
lean_inc(x_1663);
lean_inc(x_1662);
lean_inc(x_1661);
lean_inc(x_1660);
lean_inc(x_1657);
lean_inc(x_1649);
lean_inc(x_1648);
lean_dec(x_1);
x_1669 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1669, 0, x_1647);
x_1670 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1670, 0, x_1648);
lean_ctor_set(x_1670, 1, x_1649);
lean_ctor_set(x_1670, 2, x_1657);
lean_ctor_set(x_1670, 3, x_1660);
lean_ctor_set(x_1670, 4, x_1661);
lean_ctor_set(x_1670, 5, x_1662);
lean_ctor_set(x_1670, 6, x_1663);
lean_ctor_set(x_1670, 7, x_1664);
lean_ctor_set(x_1670, 8, x_1669);
lean_ctor_set(x_1670, 9, x_1666);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 8, x_1650);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 9, x_1651);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 10, x_1652);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 11, x_1653);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 12, x_1654);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 13, x_1655);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 14, x_1656);
lean_ctor_set_uint32(x_1670, sizeof(void*)*10, x_1658);
lean_ctor_set_uint32(x_1670, sizeof(void*)*10 + 4, x_1659);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 15, x_1665);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 16, x_1667);
lean_ctor_set_uint8(x_1670, sizeof(void*)*10 + 17, x_1668);
lean_ctor_set(x_1641, 0, x_1670);
return x_1641;
}
}
else
{
lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; uint8_t x_1674; uint8_t x_1675; uint8_t x_1676; uint8_t x_1677; uint8_t x_1678; uint8_t x_1679; uint8_t x_1680; lean_object* x_1681; uint32_t x_1682; uint32_t x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; uint8_t x_1689; lean_object* x_1690; uint8_t x_1691; uint8_t x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; 
x_1671 = lean_ctor_get(x_1641, 0);
lean_inc(x_1671);
lean_dec(x_1641);
x_1672 = lean_ctor_get(x_1, 0);
lean_inc(x_1672);
x_1673 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1673);
x_1674 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1675 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1676 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1677 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1678 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1679 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1680 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1681 = lean_ctor_get(x_1, 2);
lean_inc(x_1681);
x_1682 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1683 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1684 = lean_ctor_get(x_1, 3);
lean_inc(x_1684);
x_1685 = lean_ctor_get(x_1, 4);
lean_inc(x_1685);
x_1686 = lean_ctor_get(x_1, 5);
lean_inc(x_1686);
x_1687 = lean_ctor_get(x_1, 6);
lean_inc(x_1687);
x_1688 = lean_ctor_get(x_1, 7);
lean_inc(x_1688);
x_1689 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1690 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1690);
x_1691 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1692 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1693 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1693 = lean_box(0);
}
x_1694 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1694, 0, x_1671);
if (lean_is_scalar(x_1693)) {
 x_1695 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1695 = x_1693;
}
lean_ctor_set(x_1695, 0, x_1672);
lean_ctor_set(x_1695, 1, x_1673);
lean_ctor_set(x_1695, 2, x_1681);
lean_ctor_set(x_1695, 3, x_1684);
lean_ctor_set(x_1695, 4, x_1685);
lean_ctor_set(x_1695, 5, x_1686);
lean_ctor_set(x_1695, 6, x_1687);
lean_ctor_set(x_1695, 7, x_1688);
lean_ctor_set(x_1695, 8, x_1694);
lean_ctor_set(x_1695, 9, x_1690);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 8, x_1674);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 9, x_1675);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 10, x_1676);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 11, x_1677);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 12, x_1678);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 13, x_1679);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 14, x_1680);
lean_ctor_set_uint32(x_1695, sizeof(void*)*10, x_1682);
lean_ctor_set_uint32(x_1695, sizeof(void*)*10 + 4, x_1683);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 15, x_1689);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 16, x_1691);
lean_ctor_set_uint8(x_1695, sizeof(void*)*10 + 17, x_1692);
x_1696 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1696, 0, x_1695);
return x_1696;
}
}
else
{
lean_object* x_1697; lean_object* x_1698; lean_object* x_1702; lean_object* x_1703; 
lean_dec_ref(x_1);
x_1697 = lean_ctor_get(x_1641, 0);
lean_inc(x_1697);
lean_dec_ref(x_1641);
x_1702 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1703 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1702);
lean_dec_ref(x_1703);
x_1698 = lean_box(0);
goto block_1701;
block_1701:
{
lean_object* x_1699; lean_object* x_1700; 
x_1699 = lean_io_error_to_string(x_1697);
x_1700 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1699);
lean_dec_ref(x_1700);
x_230 = lean_box(0);
goto block_233;
}
}
}
}
else
{
lean_object* x_1704; lean_object* x_1705; 
x_1704 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__33;
x_1705 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1704, x_3);
if (lean_obj_tag(x_1705) == 0)
{
uint8_t x_1706; 
x_1706 = !lean_is_exclusive(x_1705);
if (x_1706 == 0)
{
uint8_t x_1707; 
x_1707 = !lean_is_exclusive(x_1);
if (x_1707 == 0)
{
lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; 
x_1708 = lean_ctor_get(x_1705, 0);
x_1709 = lean_ctor_get(x_1, 7);
lean_dec(x_1709);
x_1710 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1710, 0, x_1708);
lean_ctor_set(x_1, 7, x_1710);
lean_ctor_set(x_1705, 0, x_1);
return x_1705;
}
else
{
lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; uint8_t x_1714; uint8_t x_1715; uint8_t x_1716; uint8_t x_1717; uint8_t x_1718; uint8_t x_1719; uint8_t x_1720; lean_object* x_1721; uint32_t x_1722; uint32_t x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; uint8_t x_1729; lean_object* x_1730; uint8_t x_1731; uint8_t x_1732; lean_object* x_1733; lean_object* x_1734; 
x_1711 = lean_ctor_get(x_1705, 0);
x_1712 = lean_ctor_get(x_1, 0);
x_1713 = lean_ctor_get(x_1, 1);
x_1714 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1715 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1716 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1717 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1718 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1719 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1720 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1721 = lean_ctor_get(x_1, 2);
x_1722 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1723 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1724 = lean_ctor_get(x_1, 3);
x_1725 = lean_ctor_get(x_1, 4);
x_1726 = lean_ctor_get(x_1, 5);
x_1727 = lean_ctor_get(x_1, 6);
x_1728 = lean_ctor_get(x_1, 8);
x_1729 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1730 = lean_ctor_get(x_1, 9);
x_1731 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1732 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1730);
lean_inc(x_1728);
lean_inc(x_1727);
lean_inc(x_1726);
lean_inc(x_1725);
lean_inc(x_1724);
lean_inc(x_1721);
lean_inc(x_1713);
lean_inc(x_1712);
lean_dec(x_1);
x_1733 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1733, 0, x_1711);
x_1734 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1734, 0, x_1712);
lean_ctor_set(x_1734, 1, x_1713);
lean_ctor_set(x_1734, 2, x_1721);
lean_ctor_set(x_1734, 3, x_1724);
lean_ctor_set(x_1734, 4, x_1725);
lean_ctor_set(x_1734, 5, x_1726);
lean_ctor_set(x_1734, 6, x_1727);
lean_ctor_set(x_1734, 7, x_1733);
lean_ctor_set(x_1734, 8, x_1728);
lean_ctor_set(x_1734, 9, x_1730);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 8, x_1714);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 9, x_1715);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 10, x_1716);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 11, x_1717);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 12, x_1718);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 13, x_1719);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 14, x_1720);
lean_ctor_set_uint32(x_1734, sizeof(void*)*10, x_1722);
lean_ctor_set_uint32(x_1734, sizeof(void*)*10 + 4, x_1723);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 15, x_1729);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 16, x_1731);
lean_ctor_set_uint8(x_1734, sizeof(void*)*10 + 17, x_1732);
lean_ctor_set(x_1705, 0, x_1734);
return x_1705;
}
}
else
{
lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; uint8_t x_1738; uint8_t x_1739; uint8_t x_1740; uint8_t x_1741; uint8_t x_1742; uint8_t x_1743; uint8_t x_1744; lean_object* x_1745; uint32_t x_1746; uint32_t x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; uint8_t x_1753; lean_object* x_1754; uint8_t x_1755; uint8_t x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; 
x_1735 = lean_ctor_get(x_1705, 0);
lean_inc(x_1735);
lean_dec(x_1705);
x_1736 = lean_ctor_get(x_1, 0);
lean_inc(x_1736);
x_1737 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1737);
x_1738 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1739 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1740 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1741 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1742 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1743 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1744 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1745 = lean_ctor_get(x_1, 2);
lean_inc(x_1745);
x_1746 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1747 = lean_ctor_get_uint32(x_1, sizeof(void*)*10 + 4);
x_1748 = lean_ctor_get(x_1, 3);
lean_inc(x_1748);
x_1749 = lean_ctor_get(x_1, 4);
lean_inc(x_1749);
x_1750 = lean_ctor_get(x_1, 5);
lean_inc(x_1750);
x_1751 = lean_ctor_get(x_1, 6);
lean_inc(x_1751);
x_1752 = lean_ctor_get(x_1, 8);
lean_inc(x_1752);
x_1753 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1754 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1754);
x_1755 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1756 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1757 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1757 = lean_box(0);
}
x_1758 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1758, 0, x_1735);
if (lean_is_scalar(x_1757)) {
 x_1759 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1759 = x_1757;
}
lean_ctor_set(x_1759, 0, x_1736);
lean_ctor_set(x_1759, 1, x_1737);
lean_ctor_set(x_1759, 2, x_1745);
lean_ctor_set(x_1759, 3, x_1748);
lean_ctor_set(x_1759, 4, x_1749);
lean_ctor_set(x_1759, 5, x_1750);
lean_ctor_set(x_1759, 6, x_1751);
lean_ctor_set(x_1759, 7, x_1758);
lean_ctor_set(x_1759, 8, x_1752);
lean_ctor_set(x_1759, 9, x_1754);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 8, x_1738);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 9, x_1739);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 10, x_1740);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 11, x_1741);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 12, x_1742);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 13, x_1743);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 14, x_1744);
lean_ctor_set_uint32(x_1759, sizeof(void*)*10, x_1746);
lean_ctor_set_uint32(x_1759, sizeof(void*)*10 + 4, x_1747);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 15, x_1753);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 16, x_1755);
lean_ctor_set_uint8(x_1759, sizeof(void*)*10 + 17, x_1756);
x_1760 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1760, 0, x_1759);
return x_1760;
}
}
else
{
lean_object* x_1761; lean_object* x_1762; lean_object* x_1766; lean_object* x_1767; 
lean_dec_ref(x_1);
x_1761 = lean_ctor_get(x_1705, 0);
lean_inc(x_1761);
lean_dec_ref(x_1705);
x_1766 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1767 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1766);
lean_dec_ref(x_1767);
x_1762 = lean_box(0);
goto block_1765;
block_1765:
{
lean_object* x_1763; lean_object* x_1764; 
x_1763 = lean_io_error_to_string(x_1761);
x_1764 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1763);
lean_dec_ref(x_1764);
x_41 = lean_box(0);
goto block_44;
}
}
}
}
else
{
lean_object* x_1768; lean_object* x_1769; 
lean_dec(x_3);
lean_dec_ref(x_1);
x_1768 = l___private_Lean_Shell_0__Lean_featuresString;
x_1769 = l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3(x_1768);
if (lean_obj_tag(x_1769) == 0)
{
uint8_t x_1770; 
x_1770 = !lean_is_exclusive(x_1769);
if (x_1770 == 0)
{
lean_object* x_1771; lean_object* x_1772; 
x_1771 = lean_ctor_get(x_1769, 0);
lean_dec(x_1771);
x_1772 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
lean_ctor_set_tag(x_1769, 1);
lean_ctor_set(x_1769, 0, x_1772);
return x_1769;
}
else
{
lean_object* x_1773; lean_object* x_1774; 
lean_dec(x_1769);
x_1773 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
x_1774 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1774, 0, x_1773);
return x_1774;
}
}
else
{
lean_object* x_1775; lean_object* x_1776; lean_object* x_1780; lean_object* x_1781; 
x_1775 = lean_ctor_get(x_1769, 0);
lean_inc(x_1775);
lean_dec_ref(x_1769);
x_1780 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1781 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1780);
lean_dec_ref(x_1781);
x_1776 = lean_box(0);
goto block_1779;
block_1779:
{
lean_object* x_1777; lean_object* x_1778; 
x_1777 = lean_io_error_to_string(x_1775);
x_1778 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1777);
lean_dec_ref(x_1778);
x_238 = lean_box(0);
goto block_241;
}
}
}
}
else
{
lean_object* x_1782; 
lean_dec(x_3);
lean_dec_ref(x_1);
x_1782 = l___private_Lean_Shell_0__Lean_displayHelp(x_267);
if (lean_obj_tag(x_1782) == 0)
{
uint8_t x_1783; 
x_1783 = !lean_is_exclusive(x_1782);
if (x_1783 == 0)
{
lean_object* x_1784; lean_object* x_1785; 
x_1784 = lean_ctor_get(x_1782, 0);
lean_dec(x_1784);
x_1785 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
lean_ctor_set_tag(x_1782, 1);
lean_ctor_set(x_1782, 0, x_1785);
return x_1782;
}
else
{
lean_object* x_1786; lean_object* x_1787; 
lean_dec(x_1782);
x_1786 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
x_1787 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1787, 0, x_1786);
return x_1787;
}
}
else
{
lean_object* x_1788; lean_object* x_1789; lean_object* x_1793; lean_object* x_1794; 
x_1788 = lean_ctor_get(x_1782, 0);
lean_inc(x_1788);
lean_dec_ref(x_1782);
x_1793 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1794 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1793);
lean_dec_ref(x_1794);
x_1789 = lean_box(0);
goto block_1792;
block_1792:
{
lean_object* x_1790; lean_object* x_1791; 
x_1790 = lean_io_error_to_string(x_1788);
x_1791 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1790);
lean_dec_ref(x_1791);
x_33 = lean_box(0);
goto block_36;
}
}
}
}
else
{
lean_object* x_1795; lean_object* x_1796; 
lean_dec(x_3);
lean_dec_ref(x_1);
x_1795 = l___private_Lean_Shell_0__Lean_versionHeader___closed__4;
x_1796 = l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3(x_1795);
if (lean_obj_tag(x_1796) == 0)
{
uint8_t x_1797; 
x_1797 = !lean_is_exclusive(x_1796);
if (x_1797 == 0)
{
lean_object* x_1798; lean_object* x_1799; 
x_1798 = lean_ctor_get(x_1796, 0);
lean_dec(x_1798);
x_1799 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
lean_ctor_set_tag(x_1796, 1);
lean_ctor_set(x_1796, 0, x_1799);
return x_1796;
}
else
{
lean_object* x_1800; lean_object* x_1801; 
lean_dec(x_1796);
x_1800 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
x_1801 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1801, 0, x_1800);
return x_1801;
}
}
else
{
lean_object* x_1802; lean_object* x_1803; lean_object* x_1807; lean_object* x_1808; 
x_1802 = lean_ctor_get(x_1796, 0);
lean_inc(x_1802);
lean_dec_ref(x_1796);
x_1807 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1808 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1807);
lean_dec_ref(x_1808);
x_1803 = lean_box(0);
goto block_1806;
block_1806:
{
lean_object* x_1804; lean_object* x_1805; 
x_1804 = lean_io_error_to_string(x_1802);
x_1805 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1804);
lean_dec_ref(x_1805);
x_246 = lean_box(0);
goto block_249;
}
}
}
}
else
{
lean_object* x_1809; lean_object* x_1810; 
lean_dec(x_3);
lean_dec_ref(x_1);
x_1809 = l___private_Lean_Shell_0__Lean_shortVersionString;
x_1810 = l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3(x_1809);
if (lean_obj_tag(x_1810) == 0)
{
uint8_t x_1811; 
x_1811 = !lean_is_exclusive(x_1810);
if (x_1811 == 0)
{
lean_object* x_1812; lean_object* x_1813; 
x_1812 = lean_ctor_get(x_1810, 0);
lean_dec(x_1812);
x_1813 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
lean_ctor_set_tag(x_1810, 1);
lean_ctor_set(x_1810, 0, x_1813);
return x_1810;
}
else
{
lean_object* x_1814; lean_object* x_1815; 
lean_dec(x_1810);
x_1814 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
x_1815 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1815, 0, x_1814);
return x_1815;
}
}
else
{
lean_object* x_1816; lean_object* x_1817; lean_object* x_1821; lean_object* x_1822; 
x_1816 = lean_ctor_get(x_1810, 0);
lean_inc(x_1816);
lean_dec_ref(x_1810);
x_1821 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1822 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1821);
lean_dec_ref(x_1822);
x_1817 = lean_box(0);
goto block_1820;
block_1820:
{
lean_object* x_1818; lean_object* x_1819; 
x_1818 = lean_io_error_to_string(x_1816);
x_1819 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1818);
lean_dec_ref(x_1819);
x_25 = lean_box(0);
goto block_28;
}
}
}
}
else
{
lean_object* x_1823; lean_object* x_1824; 
lean_dec(x_3);
lean_dec_ref(x_1);
x_1823 = l___private_Lean_Shell_0__Lean_versionHeader;
x_1824 = l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3(x_1823);
if (lean_obj_tag(x_1824) == 0)
{
uint8_t x_1825; 
x_1825 = !lean_is_exclusive(x_1824);
if (x_1825 == 0)
{
lean_object* x_1826; lean_object* x_1827; 
x_1826 = lean_ctor_get(x_1824, 0);
lean_dec(x_1826);
x_1827 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
lean_ctor_set_tag(x_1824, 1);
lean_ctor_set(x_1824, 0, x_1827);
return x_1824;
}
else
{
lean_object* x_1828; lean_object* x_1829; 
lean_dec(x_1824);
x_1828 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2;
x_1829 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1829, 0, x_1828);
return x_1829;
}
}
else
{
lean_object* x_1830; lean_object* x_1831; lean_object* x_1835; lean_object* x_1836; 
x_1830 = lean_ctor_get(x_1824, 0);
lean_inc(x_1830);
lean_dec_ref(x_1824);
x_1835 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1836 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1835);
lean_dec_ref(x_1836);
x_1831 = lean_box(0);
goto block_1834;
block_1834:
{
lean_object* x_1832; lean_object* x_1833; 
x_1832 = lean_io_error_to_string(x_1830);
x_1833 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1832);
lean_dec_ref(x_1833);
x_254 = lean_box(0);
goto block_257;
}
}
}
}
else
{
lean_object* x_1837; lean_object* x_1838; 
x_1837 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__34;
x_1838 = l___private_Lean_Shell_0__Lean_checkOptArg(x_1837, x_3);
if (lean_obj_tag(x_1838) == 0)
{
uint8_t x_1839; 
x_1839 = !lean_is_exclusive(x_1838);
if (x_1839 == 0)
{
lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; 
x_1840 = lean_ctor_get(x_1838, 0);
x_1841 = lean_unsigned_to_nat(0u);
x_1842 = lean_string_utf8_byte_size(x_1840);
lean_inc(x_1840);
x_1843 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1843, 0, x_1840);
lean_ctor_set(x_1843, 1, x_1841);
lean_ctor_set(x_1843, 2, x_1842);
x_1844 = l_String_Slice_toNat_x3f(x_1843);
lean_dec_ref(x_1843);
if (lean_obj_tag(x_1844) == 1)
{
lean_object* x_1845; lean_object* x_1846; uint8_t x_1847; 
x_1845 = lean_ctor_get(x_1844, 0);
lean_inc(x_1845);
lean_dec_ref(x_1844);
x_1846 = lean_cstr_to_nat("4294967296");
x_1847 = lean_nat_dec_lt(x_1845, x_1846);
if (x_1847 == 0)
{
lean_object* x_1848; lean_object* x_1849; 
lean_dec(x_1845);
lean_free_object(x_1838);
lean_dec(x_1840);
lean_dec_ref(x_1);
x_1848 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__35;
x_1849 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1848);
lean_dec_ref(x_1849);
x_17 = lean_box(0);
goto block_20;
}
else
{
uint8_t x_1850; 
x_1850 = !lean_is_exclusive(x_1);
if (x_1850 == 0)
{
lean_object* x_1851; uint32_t x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; 
x_1851 = lean_ctor_get(x_1, 1);
x_1852 = lean_uint32_of_nat(x_1845);
lean_dec(x_1845);
x_1853 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36;
x_1854 = lean_string_append(x_1853, x_1840);
lean_dec(x_1840);
x_1855 = lean_array_push(x_1851, x_1854);
lean_ctor_set(x_1, 1, x_1855);
lean_ctor_set_uint32(x_1, sizeof(void*)*10 + 4, x_1852);
lean_ctor_set(x_1838, 0, x_1);
return x_1838;
}
else
{
lean_object* x_1856; lean_object* x_1857; uint8_t x_1858; uint8_t x_1859; uint8_t x_1860; uint8_t x_1861; uint8_t x_1862; uint8_t x_1863; uint8_t x_1864; lean_object* x_1865; uint32_t x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; uint8_t x_1873; lean_object* x_1874; uint8_t x_1875; uint8_t x_1876; uint32_t x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; 
x_1856 = lean_ctor_get(x_1, 0);
x_1857 = lean_ctor_get(x_1, 1);
x_1858 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1859 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1860 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1861 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1862 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1863 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1864 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1865 = lean_ctor_get(x_1, 2);
x_1866 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1867 = lean_ctor_get(x_1, 3);
x_1868 = lean_ctor_get(x_1, 4);
x_1869 = lean_ctor_get(x_1, 5);
x_1870 = lean_ctor_get(x_1, 6);
x_1871 = lean_ctor_get(x_1, 7);
x_1872 = lean_ctor_get(x_1, 8);
x_1873 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1874 = lean_ctor_get(x_1, 9);
x_1875 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1876 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
lean_inc(x_1874);
lean_inc(x_1872);
lean_inc(x_1871);
lean_inc(x_1870);
lean_inc(x_1869);
lean_inc(x_1868);
lean_inc(x_1867);
lean_inc(x_1865);
lean_inc(x_1857);
lean_inc(x_1856);
lean_dec(x_1);
x_1877 = lean_uint32_of_nat(x_1845);
lean_dec(x_1845);
x_1878 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36;
x_1879 = lean_string_append(x_1878, x_1840);
lean_dec(x_1840);
x_1880 = lean_array_push(x_1857, x_1879);
x_1881 = lean_alloc_ctor(0, 10, 18);
lean_ctor_set(x_1881, 0, x_1856);
lean_ctor_set(x_1881, 1, x_1880);
lean_ctor_set(x_1881, 2, x_1865);
lean_ctor_set(x_1881, 3, x_1867);
lean_ctor_set(x_1881, 4, x_1868);
lean_ctor_set(x_1881, 5, x_1869);
lean_ctor_set(x_1881, 6, x_1870);
lean_ctor_set(x_1881, 7, x_1871);
lean_ctor_set(x_1881, 8, x_1872);
lean_ctor_set(x_1881, 9, x_1874);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 8, x_1858);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 9, x_1859);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 10, x_1860);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 11, x_1861);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 12, x_1862);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 13, x_1863);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 14, x_1864);
lean_ctor_set_uint32(x_1881, sizeof(void*)*10, x_1866);
lean_ctor_set_uint32(x_1881, sizeof(void*)*10 + 4, x_1877);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 15, x_1873);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 16, x_1875);
lean_ctor_set_uint8(x_1881, sizeof(void*)*10 + 17, x_1876);
lean_ctor_set(x_1838, 0, x_1881);
return x_1838;
}
}
}
else
{
lean_object* x_1882; lean_object* x_1883; 
lean_dec(x_1844);
lean_free_object(x_1838);
lean_dec(x_1840);
lean_dec_ref(x_1);
x_1882 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__37;
x_1883 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1882);
lean_dec_ref(x_1883);
x_13 = lean_box(0);
goto block_16;
}
}
else
{
lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; 
x_1884 = lean_ctor_get(x_1838, 0);
lean_inc(x_1884);
lean_dec(x_1838);
x_1885 = lean_unsigned_to_nat(0u);
x_1886 = lean_string_utf8_byte_size(x_1884);
lean_inc(x_1884);
x_1887 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1887, 0, x_1884);
lean_ctor_set(x_1887, 1, x_1885);
lean_ctor_set(x_1887, 2, x_1886);
x_1888 = l_String_Slice_toNat_x3f(x_1887);
lean_dec_ref(x_1887);
if (lean_obj_tag(x_1888) == 1)
{
lean_object* x_1889; lean_object* x_1890; uint8_t x_1891; 
x_1889 = lean_ctor_get(x_1888, 0);
lean_inc(x_1889);
lean_dec_ref(x_1888);
x_1890 = lean_cstr_to_nat("4294967296");
x_1891 = lean_nat_dec_lt(x_1889, x_1890);
if (x_1891 == 0)
{
lean_object* x_1892; lean_object* x_1893; 
lean_dec(x_1889);
lean_dec(x_1884);
lean_dec_ref(x_1);
x_1892 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__35;
x_1893 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1892);
lean_dec_ref(x_1893);
x_17 = lean_box(0);
goto block_20;
}
else
{
lean_object* x_1894; lean_object* x_1895; uint8_t x_1896; uint8_t x_1897; uint8_t x_1898; uint8_t x_1899; uint8_t x_1900; uint8_t x_1901; uint8_t x_1902; lean_object* x_1903; uint32_t x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; uint8_t x_1911; lean_object* x_1912; uint8_t x_1913; uint8_t x_1914; lean_object* x_1915; uint32_t x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; 
x_1894 = lean_ctor_get(x_1, 0);
lean_inc(x_1894);
x_1895 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_1895);
x_1896 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 8);
x_1897 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 9);
x_1898 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 10);
x_1899 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 11);
x_1900 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 12);
x_1901 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 13);
x_1902 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 14);
x_1903 = lean_ctor_get(x_1, 2);
lean_inc(x_1903);
x_1904 = lean_ctor_get_uint32(x_1, sizeof(void*)*10);
x_1905 = lean_ctor_get(x_1, 3);
lean_inc(x_1905);
x_1906 = lean_ctor_get(x_1, 4);
lean_inc(x_1906);
x_1907 = lean_ctor_get(x_1, 5);
lean_inc(x_1907);
x_1908 = lean_ctor_get(x_1, 6);
lean_inc(x_1908);
x_1909 = lean_ctor_get(x_1, 7);
lean_inc(x_1909);
x_1910 = lean_ctor_get(x_1, 8);
lean_inc(x_1910);
x_1911 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 15);
x_1912 = lean_ctor_get(x_1, 9);
lean_inc_ref(x_1912);
x_1913 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 16);
x_1914 = lean_ctor_get_uint8(x_1, sizeof(void*)*10 + 17);
if (lean_is_exclusive(x_1)) {
 lean_ctor_release(x_1, 0);
 lean_ctor_release(x_1, 1);
 lean_ctor_release(x_1, 2);
 lean_ctor_release(x_1, 3);
 lean_ctor_release(x_1, 4);
 lean_ctor_release(x_1, 5);
 lean_ctor_release(x_1, 6);
 lean_ctor_release(x_1, 7);
 lean_ctor_release(x_1, 8);
 lean_ctor_release(x_1, 9);
 x_1915 = x_1;
} else {
 lean_dec_ref(x_1);
 x_1915 = lean_box(0);
}
x_1916 = lean_uint32_of_nat(x_1889);
lean_dec(x_1889);
x_1917 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36;
x_1918 = lean_string_append(x_1917, x_1884);
lean_dec(x_1884);
x_1919 = lean_array_push(x_1895, x_1918);
if (lean_is_scalar(x_1915)) {
 x_1920 = lean_alloc_ctor(0, 10, 18);
} else {
 x_1920 = x_1915;
}
lean_ctor_set(x_1920, 0, x_1894);
lean_ctor_set(x_1920, 1, x_1919);
lean_ctor_set(x_1920, 2, x_1903);
lean_ctor_set(x_1920, 3, x_1905);
lean_ctor_set(x_1920, 4, x_1906);
lean_ctor_set(x_1920, 5, x_1907);
lean_ctor_set(x_1920, 6, x_1908);
lean_ctor_set(x_1920, 7, x_1909);
lean_ctor_set(x_1920, 8, x_1910);
lean_ctor_set(x_1920, 9, x_1912);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 8, x_1896);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 9, x_1897);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 10, x_1898);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 11, x_1899);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 12, x_1900);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 13, x_1901);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 14, x_1902);
lean_ctor_set_uint32(x_1920, sizeof(void*)*10, x_1904);
lean_ctor_set_uint32(x_1920, sizeof(void*)*10 + 4, x_1916);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 15, x_1911);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 16, x_1913);
lean_ctor_set_uint8(x_1920, sizeof(void*)*10 + 17, x_1914);
x_1921 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1921, 0, x_1920);
return x_1921;
}
}
else
{
lean_object* x_1922; lean_object* x_1923; 
lean_dec(x_1888);
lean_dec(x_1884);
lean_dec_ref(x_1);
x_1922 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__37;
x_1923 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1922);
lean_dec_ref(x_1923);
x_13 = lean_box(0);
goto block_16;
}
}
}
else
{
lean_object* x_1924; lean_object* x_1925; lean_object* x_1929; lean_object* x_1930; 
lean_dec_ref(x_1);
x_1924 = lean_ctor_get(x_1838, 0);
lean_inc(x_1924);
lean_dec_ref(x_1838);
x_1929 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_1930 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1929);
lean_dec_ref(x_1930);
x_1925 = lean_box(0);
goto block_1928;
block_1928:
{
lean_object* x_1926; lean_object* x_1927; 
x_1926 = lean_io_error_to_string(x_1924);
x_1927 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1926);
lean_dec_ref(x_1927);
x_9 = lean_box(0);
goto block_12;
}
}
}
}
else
{
lean_object* x_1931; lean_object* x_1932; 
lean_dec(x_3);
x_1931 = lean_internal_set_exit_on_panic(x_259);
x_1932 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1932, 0, x_1);
return x_1932;
}
block_8:
{
lean_object* x_6; lean_object* x_7; 
x_6 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_7 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
block_12:
{
lean_object* x_10; lean_object* x_11; 
x_10 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_11 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_10);
lean_dec_ref(x_11);
x_5 = lean_box(0);
goto block_8;
}
block_16:
{
lean_object* x_14; lean_object* x_15; 
x_14 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_15 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
block_20:
{
lean_object* x_18; lean_object* x_19; 
x_18 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
return x_19;
}
block_24:
{
lean_object* x_22; lean_object* x_23; 
x_22 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_23 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_23, 0, x_22);
return x_23;
}
block_28:
{
lean_object* x_26; lean_object* x_27; 
x_26 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_27 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_26);
lean_dec_ref(x_27);
x_21 = lean_box(0);
goto block_24;
}
block_32:
{
lean_object* x_30; lean_object* x_31; 
x_30 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_31 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_31, 0, x_30);
return x_31;
}
block_36:
{
lean_object* x_34; lean_object* x_35; 
x_34 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_35 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_34);
lean_dec_ref(x_35);
x_29 = lean_box(0);
goto block_32;
}
block_40:
{
lean_object* x_38; lean_object* x_39; 
x_38 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_39 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
block_44:
{
lean_object* x_42; lean_object* x_43; 
x_42 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_43 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_42);
lean_dec_ref(x_43);
x_37 = lean_box(0);
goto block_40;
}
block_48:
{
lean_object* x_46; lean_object* x_47; 
x_46 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_47 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_47, 0, x_46);
return x_47;
}
block_52:
{
lean_object* x_50; lean_object* x_51; 
x_50 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_51 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_50);
lean_dec_ref(x_51);
x_45 = lean_box(0);
goto block_48;
}
block_56:
{
lean_object* x_54; lean_object* x_55; 
x_54 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_55 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_55, 0, x_54);
return x_55;
}
block_60:
{
lean_object* x_58; lean_object* x_59; 
x_58 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_59 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_59, 0, x_58);
return x_59;
}
block_64:
{
lean_object* x_62; lean_object* x_63; 
x_62 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_63 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_63, 0, x_62);
return x_63;
}
block_68:
{
lean_object* x_66; lean_object* x_67; 
x_66 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_67 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_66);
lean_dec_ref(x_67);
x_61 = lean_box(0);
goto block_64;
}
block_72:
{
lean_object* x_70; lean_object* x_71; 
x_70 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_71 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_71, 0, x_70);
return x_71;
}
block_76:
{
lean_object* x_74; lean_object* x_75; 
x_74 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_75 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_74);
lean_dec_ref(x_75);
x_69 = lean_box(0);
goto block_72;
}
block_80:
{
lean_object* x_78; lean_object* x_79; 
x_78 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_79 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_79, 0, x_78);
return x_79;
}
block_84:
{
lean_object* x_82; lean_object* x_83; 
x_82 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_83 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
block_88:
{
lean_object* x_86; lean_object* x_87; 
x_86 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_87 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_86);
lean_dec_ref(x_87);
x_81 = lean_box(0);
goto block_84;
}
block_92:
{
lean_object* x_90; lean_object* x_91; 
x_90 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_91 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_91, 0, x_90);
return x_91;
}
block_96:
{
lean_object* x_94; lean_object* x_95; 
x_94 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_95 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_95, 0, x_94);
return x_95;
}
block_100:
{
lean_object* x_98; lean_object* x_99; 
x_98 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_99 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_99, 0, x_98);
return x_99;
}
block_104:
{
lean_object* x_102; lean_object* x_103; 
x_102 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_103 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_102);
lean_dec_ref(x_103);
x_97 = lean_box(0);
goto block_100;
}
block_108:
{
lean_object* x_106; lean_object* x_107; 
x_106 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_107 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_107, 0, x_106);
return x_107;
}
block_112:
{
lean_object* x_110; lean_object* x_111; 
x_110 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_111 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_110);
lean_dec_ref(x_111);
x_105 = lean_box(0);
goto block_108;
}
block_116:
{
lean_object* x_114; lean_object* x_115; 
x_114 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_115 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_115, 0, x_114);
return x_115;
}
block_120:
{
lean_object* x_118; lean_object* x_119; 
x_118 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_119 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_118);
lean_dec_ref(x_119);
x_113 = lean_box(0);
goto block_116;
}
block_124:
{
lean_object* x_122; lean_object* x_123; 
x_122 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_123 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_123, 0, x_122);
return x_123;
}
block_128:
{
lean_object* x_126; lean_object* x_127; 
x_126 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_127 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_126);
lean_dec_ref(x_127);
x_121 = lean_box(0);
goto block_124;
}
block_132:
{
lean_object* x_130; lean_object* x_131; 
x_130 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_131 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_131, 0, x_130);
return x_131;
}
block_136:
{
lean_object* x_134; lean_object* x_135; 
x_134 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_135 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_134);
lean_dec_ref(x_135);
x_129 = lean_box(0);
goto block_132;
}
block_141:
{
lean_object* x_139; lean_object* x_140; 
x_139 = lean_io_error_to_string(x_137);
x_140 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_139);
lean_dec_ref(x_140);
x_133 = lean_box(0);
goto block_136;
}
block_153:
{
uint8_t x_143; lean_object* x_144; 
x_143 = 1;
x_144 = l___private_Lean_Shell_0__Lean_displayHelp(x_143);
if (lean_obj_tag(x_144) == 0)
{
uint8_t x_145; 
x_145 = !lean_is_exclusive(x_144);
if (x_145 == 0)
{
lean_object* x_146; lean_object* x_147; 
x_146 = lean_ctor_get(x_144, 0);
lean_dec(x_146);
x_147 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
lean_ctor_set_tag(x_144, 1);
lean_ctor_set(x_144, 0, x_147);
return x_144;
}
else
{
lean_object* x_148; lean_object* x_149; 
lean_dec(x_144);
x_148 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_149 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_149, 0, x_148);
return x_149;
}
}
else
{
lean_object* x_150; lean_object* x_151; lean_object* x_152; 
x_150 = lean_ctor_get(x_144, 0);
lean_inc(x_150);
lean_dec_ref(x_144);
x_151 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1;
x_152 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_151);
lean_dec_ref(x_152);
x_137 = x_150;
x_138 = lean_box(0);
goto block_141;
}
}
block_157:
{
lean_object* x_155; lean_object* x_156; 
x_155 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__0;
x_156 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_155);
lean_dec_ref(x_156);
x_142 = lean_box(0);
goto block_153;
}
block_161:
{
lean_object* x_159; lean_object* x_160; 
x_159 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_160 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_160, 0, x_159);
return x_160;
}
block_165:
{
lean_object* x_163; lean_object* x_164; 
x_163 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_164 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_163);
lean_dec_ref(x_164);
x_158 = lean_box(0);
goto block_161;
}
block_169:
{
lean_object* x_167; lean_object* x_168; 
x_167 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_168 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_168, 0, x_167);
return x_168;
}
block_173:
{
lean_object* x_171; lean_object* x_172; 
x_171 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_172 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_171);
lean_dec_ref(x_172);
x_166 = lean_box(0);
goto block_169;
}
block_177:
{
lean_object* x_175; lean_object* x_176; 
x_175 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_176 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_176, 0, x_175);
return x_176;
}
block_181:
{
lean_object* x_179; lean_object* x_180; 
x_179 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_180 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_179);
lean_dec_ref(x_180);
x_174 = lean_box(0);
goto block_177;
}
block_185:
{
lean_object* x_183; lean_object* x_184; 
x_183 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_184 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_184, 0, x_183);
return x_184;
}
block_189:
{
lean_object* x_187; lean_object* x_188; 
x_187 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_188 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_187);
lean_dec_ref(x_188);
x_182 = lean_box(0);
goto block_185;
}
block_193:
{
lean_object* x_191; lean_object* x_192; 
x_191 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_192 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_192, 0, x_191);
return x_192;
}
block_197:
{
lean_object* x_195; lean_object* x_196; 
x_195 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_196 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_195);
lean_dec_ref(x_196);
x_190 = lean_box(0);
goto block_193;
}
block_201:
{
lean_object* x_199; lean_object* x_200; 
x_199 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_200 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_200, 0, x_199);
return x_200;
}
block_205:
{
lean_object* x_203; lean_object* x_204; 
x_203 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_204 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_204, 0, x_203);
return x_204;
}
block_209:
{
lean_object* x_207; lean_object* x_208; 
x_207 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_208 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_207);
lean_dec_ref(x_208);
x_202 = lean_box(0);
goto block_205;
}
block_213:
{
lean_object* x_211; lean_object* x_212; 
x_211 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_212 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_212, 0, x_211);
return x_212;
}
block_217:
{
lean_object* x_215; lean_object* x_216; 
x_215 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_216 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_215);
lean_dec_ref(x_216);
x_210 = lean_box(0);
goto block_213;
}
block_221:
{
lean_object* x_219; lean_object* x_220; 
x_219 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_220 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_220, 0, x_219);
return x_220;
}
block_225:
{
lean_object* x_223; lean_object* x_224; 
x_223 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_224 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_223);
lean_dec_ref(x_224);
x_218 = lean_box(0);
goto block_221;
}
block_229:
{
lean_object* x_227; lean_object* x_228; 
x_227 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_228 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_228, 0, x_227);
return x_228;
}
block_233:
{
lean_object* x_231; lean_object* x_232; 
x_231 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_232 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_231);
lean_dec_ref(x_232);
x_226 = lean_box(0);
goto block_229;
}
block_237:
{
lean_object* x_235; lean_object* x_236; 
x_235 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_236 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_236, 0, x_235);
return x_236;
}
block_241:
{
lean_object* x_239; lean_object* x_240; 
x_239 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_240 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_239);
lean_dec_ref(x_240);
x_234 = lean_box(0);
goto block_237;
}
block_245:
{
lean_object* x_243; lean_object* x_244; 
x_243 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_244 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_244, 0, x_243);
return x_244;
}
block_249:
{
lean_object* x_247; lean_object* x_248; 
x_247 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_248 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_247);
lean_dec_ref(x_248);
x_242 = lean_box(0);
goto block_245;
}
block_253:
{
lean_object* x_251; lean_object* x_252; 
x_251 = l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1;
x_252 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_252, 0, x_251);
return x_252;
}
block_257:
{
lean_object* x_255; lean_object* x_256; 
x_255 = l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0;
x_256 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_255);
lean_dec_ref(x_256);
x_250 = lean_box(0);
goto block_253;
}
}
}
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_3);
x_5 = l_Lean_Option_set___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__1(x_1, x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_IO_print___at___00IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_IO_print___at___00IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3_spec__3(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint32_t x_5; lean_object* x_6; 
x_5 = lean_unbox_uint32(x_2);
lean_dec(x_2);
x_6 = lean_shell_options_process(x_1, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___redArg(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
x_5 = lean_mk_io_user_error(x_4);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 0, x_5);
return x_1;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_1, 0);
lean_inc(x_6);
lean_dec(x_1);
x_7 = lean_mk_io_user_error(x_6);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
else
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_1);
if (x_9 == 0)
{
lean_ctor_set_tag(x_1, 0);
return x_1;
}
else
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_1, 0);
lean_inc(x_10);
lean_dec(x_1);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; 
x_4 = l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___redArg(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_ctor_get(x_1, 2);
x_8 = lean_nat_sub(x_7, x_6);
x_9 = lean_nat_dec_eq(x_3, x_8);
lean_dec(x_8);
if (x_9 == 0)
{
uint32_t x_10; lean_object* x_11; uint32_t x_12; uint8_t x_13; 
x_10 = 10;
x_11 = lean_nat_add(x_6, x_3);
x_12 = lean_string_utf8_get_fast(x_5, x_11);
x_13 = lean_uint32_dec_eq(x_12, x_10);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
lean_dec(x_3);
x_14 = lean_string_utf8_next_fast(x_5, x_11);
lean_dec(x_11);
x_15 = lean_nat_sub(x_14, x_6);
lean_dec(x_14);
{
lean_object* _tmp_2 = x_15;
lean_object* _tmp_3 = x_2;
x_3 = _tmp_2;
x_4 = _tmp_3;
}
goto _start;
}
else
{
lean_object* x_17; 
lean_dec(x_11);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_3);
return x_17;
}
}
else
{
lean_dec(x_3);
lean_inc(x_4);
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___redArg(x_1, x_2, x_5, x_6);
return x_9;
}
}
static lean_object* _init_l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("#lang", 5, 5);
return x_1;
}
}
static lean_object* _init_l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__0;
x_2 = lean_string_utf8_byte_size(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_2 = l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__0;
x_3 = lean_string_utf8_byte_size(x_1);
x_4 = l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__1;
x_5 = lean_nat_dec_le(x_4, x_3);
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_3);
lean_dec_ref(x_1);
x_6 = lean_box(0);
return x_6;
}
else
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_string_memcmp(x_1, x_2, x_7, x_7, x_4);
if (x_8 == 0)
{
lean_object* x_9; 
lean_dec(x_3);
lean_dec_ref(x_1);
x_9 = lean_box(0);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
lean_inc(x_3);
lean_inc_ref(x_1);
x_10 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_10, 0, x_1);
lean_ctor_set(x_10, 1, x_7);
lean_ctor_set(x_10, 2, x_3);
x_11 = l_String_Slice_pos_x21(x_10, x_4);
lean_dec_ref(x_10);
x_12 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_12, 0, x_1);
lean_ctor_set(x_12, 1, x_11);
lean_ctor_set(x_12, 2, x_3);
x_13 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
}
}
LEAN_EXPORT lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(lean_object* x_1) {
_start:
{
uint32_t x_3; lean_object* x_4; lean_object* x_5; 
x_3 = 10;
x_4 = lean_string_push(x_1, x_3);
x_5 = l_IO_eprint___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__0(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_shellMain_spec__5(lean_object* x_1) {
_start:
{
uint32_t x_3; lean_object* x_4; lean_object* x_5; 
x_3 = 10;
x_4 = lean_string_push(x_1, x_3);
x_5 = l_IO_print___at___00IO_println___at___00__private_Lean_Shell_0__Lean_ShellOptions_process_spec__3_spec__3(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_shellMain_spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = l_Lean_KVMap_find(x_1, x_3);
if (lean_obj_tag(x_5) == 0)
{
lean_inc(x_4);
return x_4;
}
else
{
lean_object* x_6; 
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec_ref(x_5);
if (lean_obj_tag(x_6) == 3)
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec_ref(x_6);
return x_7;
}
else
{
lean_dec(x_6);
lean_inc(x_4);
return x_4;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; 
x_4 = l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___redArg(x_1);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
lean_dec_ref(x_4);
x_6 = lean_string_to_utf8(x_5);
lean_dec(x_5);
x_7 = lean_io_prim_handle_write(x_2, x_6);
lean_dec_ref(x_6);
return x_7;
}
else
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_4);
if (x_8 == 0)
{
return x_4;
}
else
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_4, 0);
lean_inc(x_9);
lean_dec(x_4);
x_10 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_10, 0, x_9);
return x_10;
}
}
}
}
static uint8_t _init_l___private_Lean_Shell_0__Lean_shellMain___closed__0() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = lean_box(0);
x_2 = lean_internal_has_address_sanitizer(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LLVM code generation", 20, 20);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("C code generation", 17, 17);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to create '", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_stdin", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Shell_0__Lean_shellMain___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lean4", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Shell_0__Lean_shellMain___closed__6;
x_2 = lean_string_utf8_byte_size(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lean_Shell_0__Lean_shellMain___closed__7;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l___private_Lean_Shell_0__Lean_shellMain___closed__6;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown language '", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Expected exactly one file name", 30, 30);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("<stdin>", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 1;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2() {
_start:
{
uint32_t x_1; lean_object* x_2; 
x_1 = 0;
x_2 = lean_box_uint32(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Shell_0__Lean_shellMain___lam__0(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* lean_shell_main(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_8; lean_object* x_9; lean_object* x_22; lean_object* x_23; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; uint32_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_303; lean_object* x_309; lean_object* x_321; 
x_34 = lean_ctor_get(x_2, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_2, 1);
lean_inc_ref(x_35);
x_36 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 8);
x_37 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 9);
x_38 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 10);
x_39 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 11);
x_40 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 12);
x_41 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 13);
x_42 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 14);
x_43 = lean_ctor_get_uint32(x_2, sizeof(void*)*10);
x_44 = lean_ctor_get(x_2, 3);
lean_inc(x_44);
x_45 = lean_ctor_get(x_2, 4);
lean_inc(x_45);
x_46 = lean_ctor_get(x_2, 5);
lean_inc(x_46);
x_47 = lean_ctor_get(x_2, 6);
lean_inc(x_47);
x_48 = lean_ctor_get(x_2, 7);
lean_inc(x_48);
x_49 = lean_ctor_get(x_2, 8);
lean_inc(x_49);
x_50 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 15);
x_51 = lean_ctor_get(x_2, 9);
lean_inc_ref(x_51);
x_52 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 16);
x_53 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 17);
lean_dec_ref(x_2);
if (x_37 == 0)
{
if (x_38 == 0)
{
lean_object* x_331; lean_object* x_332; lean_object* x_333; uint8_t x_334; 
x_331 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20;
x_332 = l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_shellMain_spec__4(x_34, x_331);
x_333 = lean_unsigned_to_nat(0u);
x_334 = lean_nat_dec_eq(x_332, x_333);
if (x_334 == 0)
{
size_t x_335; size_t x_336; size_t x_337; size_t x_338; lean_object* x_339; 
x_335 = lean_usize_of_nat(x_332);
lean_dec(x_332);
x_336 = 1024;
x_337 = lean_usize_mul(x_335, x_336);
x_338 = lean_usize_mul(x_337, x_336);
x_339 = lean_internal_set_max_memory(x_338);
x_321 = lean_box(0);
goto block_330;
}
else
{
lean_dec(x_332);
x_321 = lean_box(0);
goto block_330;
}
}
else
{
lean_object* x_340; 
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec_ref(x_35);
lean_dec(x_34);
lean_dec(x_1);
x_340 = l_Lean_getBuildDir();
if (lean_obj_tag(x_340) == 0)
{
lean_object* x_341; lean_object* x_342; 
x_341 = lean_ctor_get(x_340, 0);
lean_inc(x_341);
lean_dec_ref(x_340);
x_342 = l_Lean_getLibDir(x_341);
if (lean_obj_tag(x_342) == 0)
{
lean_object* x_343; lean_object* x_344; 
x_343 = lean_ctor_get(x_342, 0);
lean_inc(x_343);
lean_dec_ref(x_342);
x_344 = l_IO_println___at___00__private_Lean_Shell_0__Lean_shellMain_spec__5(x_343);
if (lean_obj_tag(x_344) == 0)
{
uint8_t x_345; 
x_345 = !lean_is_exclusive(x_344);
if (x_345 == 0)
{
lean_object* x_346; lean_object* x_347; 
x_346 = lean_ctor_get(x_344, 0);
lean_dec(x_346);
x_347 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
lean_ctor_set(x_344, 0, x_347);
return x_344;
}
else
{
lean_object* x_348; lean_object* x_349; 
lean_dec(x_344);
x_348 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
x_349 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_349, 0, x_348);
return x_349;
}
}
else
{
uint8_t x_350; 
x_350 = !lean_is_exclusive(x_344);
if (x_350 == 0)
{
return x_344;
}
else
{
lean_object* x_351; lean_object* x_352; 
x_351 = lean_ctor_get(x_344, 0);
lean_inc(x_351);
lean_dec(x_344);
x_352 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_352, 0, x_351);
return x_352;
}
}
}
else
{
uint8_t x_353; 
x_353 = !lean_is_exclusive(x_342);
if (x_353 == 0)
{
return x_342;
}
else
{
lean_object* x_354; lean_object* x_355; 
x_354 = lean_ctor_get(x_342, 0);
lean_inc(x_354);
lean_dec(x_342);
x_355 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_355, 0, x_354);
return x_355;
}
}
}
else
{
uint8_t x_356; 
x_356 = !lean_is_exclusive(x_340);
if (x_356 == 0)
{
return x_340;
}
else
{
lean_object* x_357; lean_object* x_358; 
x_357 = lean_ctor_get(x_340, 0);
lean_inc(x_357);
lean_dec(x_340);
x_358 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_358, 0, x_357);
return x_358;
}
}
}
}
else
{
lean_object* x_359; 
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec_ref(x_35);
lean_dec(x_34);
lean_dec(x_1);
x_359 = l_Lean_getBuildDir();
if (lean_obj_tag(x_359) == 0)
{
lean_object* x_360; lean_object* x_361; 
x_360 = lean_ctor_get(x_359, 0);
lean_inc(x_360);
lean_dec_ref(x_359);
x_361 = l_IO_println___at___00__private_Lean_Shell_0__Lean_shellMain_spec__5(x_360);
if (lean_obj_tag(x_361) == 0)
{
uint8_t x_362; 
x_362 = !lean_is_exclusive(x_361);
if (x_362 == 0)
{
lean_object* x_363; lean_object* x_364; 
x_363 = lean_ctor_get(x_361, 0);
lean_dec(x_363);
x_364 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
lean_ctor_set(x_361, 0, x_364);
return x_361;
}
else
{
lean_object* x_365; lean_object* x_366; 
lean_dec(x_361);
x_365 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
x_366 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_366, 0, x_365);
return x_366;
}
}
else
{
uint8_t x_367; 
x_367 = !lean_is_exclusive(x_361);
if (x_367 == 0)
{
return x_361;
}
else
{
lean_object* x_368; lean_object* x_369; 
x_368 = lean_ctor_get(x_361, 0);
lean_inc(x_368);
lean_dec(x_361);
x_369 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_369, 0, x_368);
return x_369;
}
}
}
else
{
uint8_t x_370; 
x_370 = !lean_is_exclusive(x_359);
if (x_370 == 0)
{
return x_359;
}
else
{
lean_object* x_371; lean_object* x_372; 
x_371 = lean_ctor_get(x_359, 0);
lean_inc(x_371);
lean_dec(x_359);
x_372 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_372, 0, x_371);
return x_372;
}
}
}
block_7:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
block_21:
{
lean_object* x_10; uint8_t x_11; 
x_10 = lean_display_cumulative_profiling_times();
x_11 = l___private_Lean_Shell_0__Lean_shellMain___closed__0;
if (x_11 == 0)
{
if (lean_obj_tag(x_8) == 0)
{
uint8_t x_12; lean_object* x_13; 
x_12 = 1;
x_13 = lean_io_exit(x_12);
return x_13;
}
else
{
uint8_t x_14; lean_object* x_15; 
lean_dec_ref(x_8);
x_14 = 0;
x_15 = lean_io_exit(x_14);
return x_15;
}
}
else
{
if (lean_obj_tag(x_8) == 0)
{
x_4 = lean_box(0);
goto block_7;
}
else
{
uint8_t x_16; 
x_16 = !lean_is_exclusive(x_8);
if (x_16 == 0)
{
lean_object* x_17; 
x_17 = lean_ctor_get(x_8, 0);
lean_dec(x_17);
if (x_11 == 0)
{
lean_free_object(x_8);
x_4 = lean_box(0);
goto block_7;
}
else
{
lean_object* x_18; 
x_18 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
lean_ctor_set_tag(x_8, 0);
lean_ctor_set(x_8, 0, x_18);
return x_8;
}
}
else
{
lean_dec(x_8);
if (x_11 == 0)
{
x_4 = lean_box(0);
goto block_7;
}
else
{
lean_object* x_19; lean_object* x_20; 
x_19 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
x_20 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_20, 0, x_19);
return x_20;
}
}
}
}
}
block_33:
{
lean_object* x_24; 
x_24 = l_Lean_printImportsJson(x_22);
if (lean_obj_tag(x_24) == 0)
{
uint8_t x_25; 
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_24, 0);
lean_dec(x_26);
x_27 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
lean_ctor_set(x_24, 0, x_27);
return x_24;
}
else
{
lean_object* x_28; lean_object* x_29; 
lean_dec(x_24);
x_28 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
x_29 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_29, 0, x_28);
return x_29;
}
}
else
{
uint8_t x_30; 
x_30 = !lean_is_exclusive(x_24);
if (x_30 == 0)
{
return x_24;
}
else
{
lean_object* x_31; lean_object* x_32; 
x_31 = lean_ctor_get(x_24, 0);
lean_inc(x_31);
lean_dec(x_24);
x_32 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_31);
return x_32;
}
}
}
block_70:
{
if (lean_obj_tag(x_49) == 1)
{
lean_object* x_58; lean_object* x_59; 
x_58 = lean_ctor_get(x_49, 0);
lean_inc(x_58);
lean_dec_ref(x_49);
x_59 = lean_init_llvm();
if (lean_obj_tag(x_59) == 0)
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec_ref(x_59);
x_60 = l___private_Lean_Shell_0__Lean_shellMain___closed__1;
x_61 = lean_alloc_closure((void*)(l___private_Lean_Shell_0__Lean_emitLLVM___boxed), 4, 3);
lean_closure_set(x_61, 0, x_56);
lean_closure_set(x_61, 1, x_55);
lean_closure_set(x_61, 2, x_58);
x_62 = lean_box(0);
x_63 = l_Lean_profileitIOUnsafe___redArg(x_60, x_34, x_61, x_62);
lean_dec(x_34);
if (lean_obj_tag(x_63) == 0)
{
lean_dec_ref(x_63);
x_8 = x_54;
x_9 = lean_box(0);
goto block_21;
}
else
{
uint8_t x_64; 
lean_dec(x_54);
x_64 = !lean_is_exclusive(x_63);
if (x_64 == 0)
{
return x_63;
}
else
{
lean_object* x_65; lean_object* x_66; 
x_65 = lean_ctor_get(x_63, 0);
lean_inc(x_65);
lean_dec(x_63);
x_66 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_66, 0, x_65);
return x_66;
}
}
}
else
{
uint8_t x_67; 
lean_dec(x_58);
lean_dec_ref(x_56);
lean_dec(x_55);
lean_dec(x_54);
lean_dec(x_34);
x_67 = !lean_is_exclusive(x_59);
if (x_67 == 0)
{
return x_59;
}
else
{
lean_object* x_68; lean_object* x_69; 
x_68 = lean_ctor_get(x_59, 0);
lean_inc(x_68);
lean_dec(x_59);
x_69 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_69, 0, x_68);
return x_69;
}
}
}
else
{
lean_dec_ref(x_56);
lean_dec(x_55);
lean_dec(x_49);
lean_dec(x_34);
x_8 = x_54;
x_9 = lean_box(0);
goto block_21;
}
}
block_144:
{
lean_object* x_77; lean_object* x_78; 
x_77 = l___private_Lean_Shell_0__Lean_mkShellOptions___closed__1;
lean_inc(x_75);
lean_inc(x_34);
x_78 = l_Lean_Elab_runFrontend(x_73, x_34, x_71, x_75, x_43, x_46, x_47, x_50, x_51, x_77, x_52, x_72);
lean_dec_ref(x_51);
lean_dec(x_47);
if (lean_obj_tag(x_78) == 0)
{
uint8_t x_79; 
x_79 = !lean_is_exclusive(x_78);
if (x_79 == 0)
{
lean_object* x_80; 
x_80 = lean_ctor_get(x_78, 0);
if (lean_obj_tag(x_80) == 1)
{
if (x_53 == 0)
{
lean_free_object(x_78);
lean_dec(x_74);
if (lean_obj_tag(x_48) == 1)
{
lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; 
x_81 = lean_ctor_get(x_80, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_48, 0);
lean_inc(x_82);
lean_dec_ref(x_48);
x_83 = 1;
x_84 = lean_io_prim_handle_mk(x_82, x_83);
if (lean_obj_tag(x_84) == 0)
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 
lean_dec(x_82);
x_85 = lean_ctor_get(x_84, 0);
lean_inc(x_85);
lean_dec_ref(x_84);
x_86 = l___private_Lean_Shell_0__Lean_shellMain___closed__2;
lean_inc(x_75);
lean_inc(x_81);
x_87 = l_Lean_IR_emitC(x_81, x_75);
x_88 = lean_alloc_closure((void*)(l___private_Lean_Shell_0__Lean_shellMain___lam__0___boxed), 3, 2);
lean_closure_set(x_88, 0, x_87);
lean_closure_set(x_88, 1, x_85);
x_89 = lean_box(0);
x_90 = l_Lean_profileitIOUnsafe___redArg(x_86, x_34, x_88, x_89);
if (lean_obj_tag(x_90) == 0)
{
lean_dec_ref(x_90);
x_54 = x_80;
x_55 = x_75;
x_56 = x_81;
x_57 = lean_box(0);
goto block_70;
}
else
{
uint8_t x_91; 
lean_dec(x_81);
lean_dec_ref(x_80);
lean_dec(x_75);
lean_dec(x_49);
lean_dec(x_34);
x_91 = !lean_is_exclusive(x_90);
if (x_91 == 0)
{
return x_90;
}
else
{
lean_object* x_92; lean_object* x_93; 
x_92 = lean_ctor_get(x_90, 0);
lean_inc(x_92);
lean_dec(x_90);
x_93 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_93, 0, x_92);
return x_93;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; 
lean_dec_ref(x_84);
lean_dec(x_81);
lean_dec_ref(x_80);
lean_dec(x_75);
lean_dec(x_49);
lean_dec(x_34);
x_94 = l___private_Lean_Shell_0__Lean_shellMain___closed__3;
x_95 = lean_string_append(x_94, x_82);
lean_dec(x_82);
x_96 = l___private_Lean_Shell_0__Lean_checkOptArg___closed__1;
x_97 = lean_string_append(x_95, x_96);
x_98 = l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(x_97);
if (lean_obj_tag(x_98) == 0)
{
uint8_t x_99; 
x_99 = !lean_is_exclusive(x_98);
if (x_99 == 0)
{
lean_object* x_100; lean_object* x_101; 
x_100 = lean_ctor_get(x_98, 0);
lean_dec(x_100);
x_101 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
lean_ctor_set(x_98, 0, x_101);
return x_98;
}
else
{
lean_object* x_102; lean_object* x_103; 
lean_dec(x_98);
x_102 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
x_103 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_103, 0, x_102);
return x_103;
}
}
else
{
uint8_t x_104; 
x_104 = !lean_is_exclusive(x_98);
if (x_104 == 0)
{
return x_98;
}
else
{
lean_object* x_105; lean_object* x_106; 
x_105 = lean_ctor_get(x_98, 0);
lean_inc(x_105);
lean_dec(x_98);
x_106 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_106, 0, x_105);
return x_106;
}
}
}
}
else
{
lean_object* x_107; 
lean_dec(x_48);
x_107 = lean_ctor_get(x_80, 0);
lean_inc(x_107);
x_54 = x_80;
x_55 = x_75;
x_56 = x_107;
x_57 = lean_box(0);
goto block_70;
}
}
else
{
lean_object* x_108; uint32_t x_109; lean_object* x_110; 
lean_dec(x_75);
lean_dec(x_49);
lean_dec(x_48);
x_108 = lean_ctor_get(x_80, 0);
lean_inc(x_108);
lean_dec_ref(x_80);
x_109 = lean_run_main(x_108, x_34, x_74);
lean_dec(x_74);
lean_dec(x_34);
lean_dec(x_108);
x_110 = lean_box_uint32(x_109);
lean_ctor_set(x_78, 0, x_110);
return x_78;
}
}
else
{
lean_free_object(x_78);
lean_dec(x_75);
lean_dec(x_74);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_34);
x_8 = x_80;
x_9 = lean_box(0);
goto block_21;
}
}
else
{
lean_object* x_111; 
x_111 = lean_ctor_get(x_78, 0);
lean_inc(x_111);
lean_dec(x_78);
if (lean_obj_tag(x_111) == 1)
{
if (x_53 == 0)
{
lean_dec(x_74);
if (lean_obj_tag(x_48) == 1)
{
lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; 
x_112 = lean_ctor_get(x_111, 0);
lean_inc(x_112);
x_113 = lean_ctor_get(x_48, 0);
lean_inc(x_113);
lean_dec_ref(x_48);
x_114 = 1;
x_115 = lean_io_prim_handle_mk(x_113, x_114);
if (lean_obj_tag(x_115) == 0)
{
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; 
lean_dec(x_113);
x_116 = lean_ctor_get(x_115, 0);
lean_inc(x_116);
lean_dec_ref(x_115);
x_117 = l___private_Lean_Shell_0__Lean_shellMain___closed__2;
lean_inc(x_75);
lean_inc(x_112);
x_118 = l_Lean_IR_emitC(x_112, x_75);
x_119 = lean_alloc_closure((void*)(l___private_Lean_Shell_0__Lean_shellMain___lam__0___boxed), 3, 2);
lean_closure_set(x_119, 0, x_118);
lean_closure_set(x_119, 1, x_116);
x_120 = lean_box(0);
x_121 = l_Lean_profileitIOUnsafe___redArg(x_117, x_34, x_119, x_120);
if (lean_obj_tag(x_121) == 0)
{
lean_dec_ref(x_121);
x_54 = x_111;
x_55 = x_75;
x_56 = x_112;
x_57 = lean_box(0);
goto block_70;
}
else
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; 
lean_dec(x_112);
lean_dec_ref(x_111);
lean_dec(x_75);
lean_dec(x_49);
lean_dec(x_34);
x_122 = lean_ctor_get(x_121, 0);
lean_inc(x_122);
if (lean_is_exclusive(x_121)) {
 lean_ctor_release(x_121, 0);
 x_123 = x_121;
} else {
 lean_dec_ref(x_121);
 x_123 = lean_box(0);
}
if (lean_is_scalar(x_123)) {
 x_124 = lean_alloc_ctor(1, 1, 0);
} else {
 x_124 = x_123;
}
lean_ctor_set(x_124, 0, x_122);
return x_124;
}
}
else
{
lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; 
lean_dec_ref(x_115);
lean_dec(x_112);
lean_dec_ref(x_111);
lean_dec(x_75);
lean_dec(x_49);
lean_dec(x_34);
x_125 = l___private_Lean_Shell_0__Lean_shellMain___closed__3;
x_126 = lean_string_append(x_125, x_113);
lean_dec(x_113);
x_127 = l___private_Lean_Shell_0__Lean_checkOptArg___closed__1;
x_128 = lean_string_append(x_126, x_127);
x_129 = l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(x_128);
if (lean_obj_tag(x_129) == 0)
{
lean_object* x_130; lean_object* x_131; lean_object* x_132; 
if (lean_is_exclusive(x_129)) {
 lean_ctor_release(x_129, 0);
 x_130 = x_129;
} else {
 lean_dec_ref(x_129);
 x_130 = lean_box(0);
}
x_131 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
if (lean_is_scalar(x_130)) {
 x_132 = lean_alloc_ctor(0, 1, 0);
} else {
 x_132 = x_130;
}
lean_ctor_set(x_132, 0, x_131);
return x_132;
}
else
{
lean_object* x_133; lean_object* x_134; lean_object* x_135; 
x_133 = lean_ctor_get(x_129, 0);
lean_inc(x_133);
if (lean_is_exclusive(x_129)) {
 lean_ctor_release(x_129, 0);
 x_134 = x_129;
} else {
 lean_dec_ref(x_129);
 x_134 = lean_box(0);
}
if (lean_is_scalar(x_134)) {
 x_135 = lean_alloc_ctor(1, 1, 0);
} else {
 x_135 = x_134;
}
lean_ctor_set(x_135, 0, x_133);
return x_135;
}
}
}
else
{
lean_object* x_136; 
lean_dec(x_48);
x_136 = lean_ctor_get(x_111, 0);
lean_inc(x_136);
x_54 = x_111;
x_55 = x_75;
x_56 = x_136;
x_57 = lean_box(0);
goto block_70;
}
}
else
{
lean_object* x_137; uint32_t x_138; lean_object* x_139; lean_object* x_140; 
lean_dec(x_75);
lean_dec(x_49);
lean_dec(x_48);
x_137 = lean_ctor_get(x_111, 0);
lean_inc(x_137);
lean_dec_ref(x_111);
x_138 = lean_run_main(x_137, x_34, x_74);
lean_dec(x_74);
lean_dec(x_34);
lean_dec(x_137);
x_139 = lean_box_uint32(x_138);
x_140 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_140, 0, x_139);
return x_140;
}
}
else
{
lean_dec(x_75);
lean_dec(x_74);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_34);
x_8 = x_111;
x_9 = lean_box(0);
goto block_21;
}
}
}
else
{
uint8_t x_141; 
lean_dec(x_75);
lean_dec(x_74);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_34);
x_141 = !lean_is_exclusive(x_78);
if (x_141 == 0)
{
return x_78;
}
else
{
lean_object* x_142; lean_object* x_143; 
x_142 = lean_ctor_get(x_78, 0);
lean_inc(x_142);
lean_dec(x_78);
x_143 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_143, 0, x_142);
return x_143;
}
}
}
block_154:
{
if (lean_obj_tag(x_149) == 0)
{
lean_object* x_150; 
x_150 = lean_ctor_get(x_149, 0);
lean_inc(x_150);
lean_dec_ref(x_149);
x_71 = x_145;
x_72 = x_146;
x_73 = x_147;
x_74 = x_148;
x_75 = x_150;
x_76 = lean_box(0);
goto block_144;
}
else
{
uint8_t x_151; 
lean_dec(x_148);
lean_dec_ref(x_147);
lean_dec(x_146);
lean_dec_ref(x_145);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_34);
x_151 = !lean_is_exclusive(x_149);
if (x_151 == 0)
{
return x_149;
}
else
{
lean_object* x_152; lean_object* x_153; 
x_152 = lean_ctor_get(x_149, 0);
lean_inc(x_152);
lean_dec(x_149);
x_153 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_153, 0, x_152);
return x_153;
}
}
}
block_181:
{
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_160; 
x_160 = lean_box(0);
if (lean_obj_tag(x_156) == 1)
{
lean_object* x_161; lean_object* x_162; 
x_161 = lean_ctor_get(x_156, 0);
lean_inc(x_161);
lean_dec_ref(x_156);
x_162 = l_Lean_moduleNameOfFileName(x_161, x_44);
if (lean_obj_tag(x_162) == 0)
{
x_145 = x_155;
x_146 = x_160;
x_147 = x_158;
x_148 = x_157;
x_149 = x_162;
goto block_154;
}
else
{
if (lean_obj_tag(x_46) == 0)
{
if (lean_obj_tag(x_48) == 0)
{
lean_object* x_163; 
lean_dec_ref(x_162);
x_163 = l___private_Lean_Shell_0__Lean_shellMain___closed__5;
x_71 = x_155;
x_72 = x_160;
x_73 = x_158;
x_74 = x_157;
x_75 = x_163;
x_76 = lean_box(0);
goto block_144;
}
else
{
x_145 = x_155;
x_146 = x_160;
x_147 = x_158;
x_148 = x_157;
x_149 = x_162;
goto block_154;
}
}
else
{
x_145 = x_155;
x_146 = x_160;
x_147 = x_158;
x_148 = x_157;
x_149 = x_162;
goto block_154;
}
}
}
else
{
lean_object* x_164; 
lean_dec(x_156);
lean_dec(x_44);
x_164 = l___private_Lean_Shell_0__Lean_shellMain___closed__5;
x_71 = x_155;
x_72 = x_160;
x_73 = x_158;
x_74 = x_157;
x_75 = x_164;
x_76 = lean_box(0);
goto block_144;
}
}
else
{
uint8_t x_165; 
lean_dec(x_156);
lean_dec(x_44);
x_165 = !lean_is_exclusive(x_45);
if (x_165 == 0)
{
lean_object* x_166; lean_object* x_167; 
x_166 = lean_ctor_get(x_45, 0);
x_167 = l_Lean_ModuleSetup_load(x_166);
lean_dec(x_166);
if (lean_obj_tag(x_167) == 0)
{
lean_object* x_168; lean_object* x_169; 
x_168 = lean_ctor_get(x_167, 0);
lean_inc(x_168);
lean_dec_ref(x_167);
x_169 = lean_ctor_get(x_168, 0);
lean_inc(x_169);
lean_ctor_set(x_45, 0, x_168);
x_71 = x_155;
x_72 = x_45;
x_73 = x_158;
x_74 = x_157;
x_75 = x_169;
x_76 = lean_box(0);
goto block_144;
}
else
{
uint8_t x_170; 
lean_free_object(x_45);
lean_dec_ref(x_158);
lean_dec(x_157);
lean_dec_ref(x_155);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_34);
x_170 = !lean_is_exclusive(x_167);
if (x_170 == 0)
{
return x_167;
}
else
{
lean_object* x_171; lean_object* x_172; 
x_171 = lean_ctor_get(x_167, 0);
lean_inc(x_171);
lean_dec(x_167);
x_172 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_172, 0, x_171);
return x_172;
}
}
}
else
{
lean_object* x_173; lean_object* x_174; 
x_173 = lean_ctor_get(x_45, 0);
lean_inc(x_173);
lean_dec(x_45);
x_174 = l_Lean_ModuleSetup_load(x_173);
lean_dec(x_173);
if (lean_obj_tag(x_174) == 0)
{
lean_object* x_175; lean_object* x_176; lean_object* x_177; 
x_175 = lean_ctor_get(x_174, 0);
lean_inc(x_175);
lean_dec_ref(x_174);
x_176 = lean_ctor_get(x_175, 0);
lean_inc(x_176);
x_177 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_177, 0, x_175);
x_71 = x_155;
x_72 = x_177;
x_73 = x_158;
x_74 = x_157;
x_75 = x_176;
x_76 = lean_box(0);
goto block_144;
}
else
{
lean_object* x_178; lean_object* x_179; lean_object* x_180; 
lean_dec_ref(x_158);
lean_dec(x_157);
lean_dec_ref(x_155);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_34);
x_178 = lean_ctor_get(x_174, 0);
lean_inc(x_178);
if (lean_is_exclusive(x_174)) {
 lean_ctor_release(x_174, 0);
 x_179 = x_174;
} else {
 lean_dec_ref(x_174);
 x_179 = lean_box(0);
}
if (lean_is_scalar(x_179)) {
 x_180 = lean_alloc_ctor(1, 1, 0);
} else {
 x_180 = x_179;
}
lean_ctor_set(x_180, 0, x_178);
return x_180;
}
}
}
}
block_210:
{
lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; 
x_190 = lean_nat_add(x_185, x_189);
lean_dec(x_189);
lean_inc(x_190);
lean_inc_ref(x_184);
x_191 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_191, 0, x_184);
lean_ctor_set(x_191, 1, x_185);
lean_ctor_set(x_191, 2, x_190);
x_192 = l_String_Slice_trimAscii(x_191);
lean_dec_ref(x_191);
x_193 = l___private_Lean_Shell_0__Lean_shellMain___closed__8;
x_194 = l_String_Slice_beq(x_192, x_193);
if (x_194 == 0)
{
lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; 
lean_dec(x_190);
lean_dec(x_188);
lean_dec(x_187);
lean_dec(x_186);
lean_dec_ref(x_184);
lean_dec_ref(x_182);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
x_195 = l___private_Lean_Shell_0__Lean_shellMain___closed__9;
x_196 = l_String_Slice_toString(x_192);
lean_dec_ref(x_192);
x_197 = lean_string_append(x_195, x_196);
lean_dec_ref(x_196);
x_198 = l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__1;
x_199 = lean_string_append(x_197, x_198);
x_200 = l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(x_199);
if (lean_obj_tag(x_200) == 0)
{
uint8_t x_201; 
x_201 = !lean_is_exclusive(x_200);
if (x_201 == 0)
{
lean_object* x_202; lean_object* x_203; 
x_202 = lean_ctor_get(x_200, 0);
lean_dec(x_202);
x_203 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
lean_ctor_set(x_200, 0, x_203);
return x_200;
}
else
{
lean_object* x_204; lean_object* x_205; 
lean_dec(x_200);
x_204 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
x_205 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_205, 0, x_204);
return x_205;
}
}
else
{
uint8_t x_206; 
x_206 = !lean_is_exclusive(x_200);
if (x_206 == 0)
{
return x_200;
}
else
{
lean_object* x_207; lean_object* x_208; 
x_207 = lean_ctor_get(x_200, 0);
lean_inc(x_207);
lean_dec(x_200);
x_208 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_208, 0, x_207);
return x_208;
}
}
}
else
{
lean_object* x_209; 
lean_dec_ref(x_192);
x_209 = lean_string_utf8_extract(x_184, x_190, x_186);
lean_dec(x_186);
lean_dec(x_190);
lean_dec_ref(x_184);
x_155 = x_182;
x_156 = x_187;
x_157 = x_188;
x_158 = x_209;
x_159 = lean_box(0);
goto block_181;
}
}
block_253:
{
if (lean_obj_tag(x_214) == 0)
{
lean_object* x_215; lean_object* x_216; 
x_215 = lean_ctor_get(x_214, 0);
lean_inc(x_215);
lean_dec_ref(x_214);
x_216 = lean_decode_lossy_utf8(x_215);
lean_dec(x_215);
if (x_40 == 0)
{
if (x_41 == 0)
{
lean_object* x_217; 
lean_inc_ref(x_216);
x_217 = l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg(x_216);
if (lean_obj_tag(x_217) == 1)
{
lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; 
lean_dec_ref(x_216);
x_218 = lean_ctor_get(x_217, 0);
lean_inc(x_218);
lean_dec_ref(x_217);
x_219 = lean_unsigned_to_nat(0u);
x_220 = lean_box(0);
x_221 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___redArg(x_218, x_220, x_219, x_220);
if (lean_obj_tag(x_221) == 0)
{
lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; 
x_222 = lean_ctor_get(x_218, 0);
lean_inc_ref(x_222);
x_223 = lean_ctor_get(x_218, 1);
lean_inc(x_223);
x_224 = lean_ctor_get(x_218, 2);
lean_inc(x_224);
lean_dec(x_218);
x_225 = lean_nat_sub(x_224, x_223);
x_182 = x_211;
x_183 = lean_box(0);
x_184 = x_222;
x_185 = x_223;
x_186 = x_224;
x_187 = x_212;
x_188 = x_213;
x_189 = x_225;
goto block_210;
}
else
{
lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; 
x_226 = lean_ctor_get(x_221, 0);
lean_inc(x_226);
lean_dec_ref(x_221);
x_227 = lean_ctor_get(x_218, 0);
lean_inc_ref(x_227);
x_228 = lean_ctor_get(x_218, 1);
lean_inc(x_228);
x_229 = lean_ctor_get(x_218, 2);
lean_inc(x_229);
lean_dec(x_218);
x_182 = x_211;
x_183 = lean_box(0);
x_184 = x_227;
x_185 = x_228;
x_186 = x_229;
x_187 = x_212;
x_188 = x_213;
x_189 = x_226;
goto block_210;
}
}
else
{
lean_dec(x_217);
x_155 = x_211;
x_156 = x_212;
x_157 = x_213;
x_158 = x_216;
x_159 = lean_box(0);
goto block_181;
}
}
else
{
lean_object* x_230; lean_object* x_231; 
lean_dec(x_213);
lean_dec(x_212);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
x_230 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_230, 0, x_211);
x_231 = l_Lean_Elab_printImportSrcs(x_216, x_230);
if (lean_obj_tag(x_231) == 0)
{
uint8_t x_232; 
x_232 = !lean_is_exclusive(x_231);
if (x_232 == 0)
{
lean_object* x_233; lean_object* x_234; 
x_233 = lean_ctor_get(x_231, 0);
lean_dec(x_233);
x_234 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
lean_ctor_set(x_231, 0, x_234);
return x_231;
}
else
{
lean_object* x_235; lean_object* x_236; 
lean_dec(x_231);
x_235 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
x_236 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_236, 0, x_235);
return x_236;
}
}
else
{
uint8_t x_237; 
x_237 = !lean_is_exclusive(x_231);
if (x_237 == 0)
{
return x_231;
}
else
{
lean_object* x_238; lean_object* x_239; 
x_238 = lean_ctor_get(x_231, 0);
lean_inc(x_238);
lean_dec(x_231);
x_239 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_239, 0, x_238);
return x_239;
}
}
}
}
else
{
lean_object* x_240; lean_object* x_241; 
lean_dec(x_213);
lean_dec(x_212);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
x_240 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_240, 0, x_211);
x_241 = l_Lean_Elab_printImports(x_216, x_240);
if (lean_obj_tag(x_241) == 0)
{
uint8_t x_242; 
x_242 = !lean_is_exclusive(x_241);
if (x_242 == 0)
{
lean_object* x_243; lean_object* x_244; 
x_243 = lean_ctor_get(x_241, 0);
lean_dec(x_243);
x_244 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
lean_ctor_set(x_241, 0, x_244);
return x_241;
}
else
{
lean_object* x_245; lean_object* x_246; 
lean_dec(x_241);
x_245 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2;
x_246 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_246, 0, x_245);
return x_246;
}
}
else
{
uint8_t x_247; 
x_247 = !lean_is_exclusive(x_241);
if (x_247 == 0)
{
return x_241;
}
else
{
lean_object* x_248; lean_object* x_249; 
x_248 = lean_ctor_get(x_241, 0);
lean_inc(x_248);
lean_dec(x_241);
x_249 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_249, 0, x_248);
return x_249;
}
}
}
}
else
{
uint8_t x_250; 
lean_dec(x_213);
lean_dec(x_212);
lean_dec_ref(x_211);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
x_250 = !lean_is_exclusive(x_214);
if (x_250 == 0)
{
return x_214;
}
else
{
lean_object* x_251; lean_object* x_252; 
x_251 = lean_ctor_get(x_214, 0);
lean_inc(x_251);
lean_dec(x_214);
x_252 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_252, 0, x_251);
return x_252;
}
}
}
block_261:
{
if (x_39 == 0)
{
lean_object* x_258; 
x_258 = l_IO_FS_readBinFile(x_256);
x_211 = x_256;
x_212 = x_254;
x_213 = x_255;
x_214 = x_258;
goto block_253;
}
else
{
lean_object* x_259; lean_object* x_260; 
x_259 = lean_get_stdin();
x_260 = l_IO_FS_Stream_readBinToEnd(x_259);
x_211 = x_256;
x_212 = x_254;
x_213 = x_255;
x_214 = x_260;
goto block_253;
}
}
block_282:
{
if (lean_obj_tag(x_262) == 1)
{
lean_object* x_265; 
x_265 = lean_ctor_get(x_262, 0);
lean_inc(x_265);
x_254 = x_262;
x_255 = x_264;
x_256 = x_265;
x_257 = lean_box(0);
goto block_261;
}
else
{
if (x_39 == 0)
{
lean_object* x_266; lean_object* x_267; 
lean_dec(x_264);
lean_dec(x_262);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
x_266 = l___private_Lean_Shell_0__Lean_shellMain___closed__10;
x_267 = l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(x_266);
if (lean_obj_tag(x_267) == 0)
{
uint8_t x_268; lean_object* x_269; 
lean_dec_ref(x_267);
x_268 = 1;
x_269 = l___private_Lean_Shell_0__Lean_displayHelp(x_268);
if (lean_obj_tag(x_269) == 0)
{
uint8_t x_270; 
x_270 = !lean_is_exclusive(x_269);
if (x_270 == 0)
{
lean_object* x_271; lean_object* x_272; 
x_271 = lean_ctor_get(x_269, 0);
lean_dec(x_271);
x_272 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
lean_ctor_set(x_269, 0, x_272);
return x_269;
}
else
{
lean_object* x_273; lean_object* x_274; 
lean_dec(x_269);
x_273 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
x_274 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_274, 0, x_273);
return x_274;
}
}
else
{
uint8_t x_275; 
x_275 = !lean_is_exclusive(x_269);
if (x_275 == 0)
{
return x_269;
}
else
{
lean_object* x_276; lean_object* x_277; 
x_276 = lean_ctor_get(x_269, 0);
lean_inc(x_276);
lean_dec(x_269);
x_277 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_277, 0, x_276);
return x_277;
}
}
}
else
{
uint8_t x_278; 
x_278 = !lean_is_exclusive(x_267);
if (x_278 == 0)
{
return x_267;
}
else
{
lean_object* x_279; lean_object* x_280; 
x_279 = lean_ctor_get(x_267, 0);
lean_inc(x_279);
lean_dec(x_267);
x_280 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_280, 0, x_279);
return x_280;
}
}
}
else
{
lean_object* x_281; 
x_281 = l___private_Lean_Shell_0__Lean_shellMain___closed__11;
x_254 = x_262;
x_255 = x_264;
x_256 = x_281;
x_257 = lean_box(0);
goto block_261;
}
}
}
block_302:
{
if (x_53 == 0)
{
uint8_t x_286; 
x_286 = l_List_isEmpty___redArg(x_285);
if (x_286 == 0)
{
lean_object* x_287; lean_object* x_288; 
lean_dec(x_285);
lean_dec(x_284);
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
x_287 = l___private_Lean_Shell_0__Lean_shellMain___closed__10;
x_288 = l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(x_287);
if (lean_obj_tag(x_288) == 0)
{
uint8_t x_289; lean_object* x_290; 
lean_dec_ref(x_288);
x_289 = 1;
x_290 = l___private_Lean_Shell_0__Lean_displayHelp(x_289);
if (lean_obj_tag(x_290) == 0)
{
uint8_t x_291; 
x_291 = !lean_is_exclusive(x_290);
if (x_291 == 0)
{
lean_object* x_292; lean_object* x_293; 
x_292 = lean_ctor_get(x_290, 0);
lean_dec(x_292);
x_293 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
lean_ctor_set(x_290, 0, x_293);
return x_290;
}
else
{
lean_object* x_294; lean_object* x_295; 
lean_dec(x_290);
x_294 = l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1;
x_295 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_295, 0, x_294);
return x_295;
}
}
else
{
uint8_t x_296; 
x_296 = !lean_is_exclusive(x_290);
if (x_296 == 0)
{
return x_290;
}
else
{
lean_object* x_297; lean_object* x_298; 
x_297 = lean_ctor_get(x_290, 0);
lean_inc(x_297);
lean_dec(x_290);
x_298 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_298, 0, x_297);
return x_298;
}
}
}
else
{
uint8_t x_299; 
x_299 = !lean_is_exclusive(x_288);
if (x_299 == 0)
{
return x_288;
}
else
{
lean_object* x_300; lean_object* x_301; 
x_300 = lean_ctor_get(x_288, 0);
lean_inc(x_300);
lean_dec(x_288);
x_301 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_301, 0, x_300);
return x_301;
}
}
}
else
{
x_262 = x_284;
x_263 = lean_box(0);
x_264 = x_285;
goto block_282;
}
}
else
{
x_262 = x_284;
x_263 = lean_box(0);
x_264 = x_285;
goto block_282;
}
}
block_308:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_304; 
x_304 = lean_box(0);
x_283 = lean_box(0);
x_284 = x_304;
x_285 = x_1;
goto block_302;
}
else
{
lean_object* x_305; lean_object* x_306; lean_object* x_307; 
x_305 = lean_ctor_get(x_1, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_1, 1);
lean_inc(x_306);
lean_dec_ref(x_1);
x_307 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_307, 0, x_305);
x_283 = lean_box(0);
x_284 = x_307;
x_285 = x_306;
goto block_302;
}
}
block_320:
{
switch (x_36) {
case 0:
{
lean_dec_ref(x_35);
if (x_40 == 0)
{
x_303 = lean_box(0);
goto block_308;
}
else
{
if (x_42 == 0)
{
x_303 = lean_box(0);
goto block_308;
}
else
{
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
if (x_39 == 0)
{
lean_object* x_310; 
x_310 = lean_array_mk(x_1);
x_22 = x_310;
x_23 = lean_box(0);
goto block_33;
}
else
{
lean_object* x_311; lean_object* x_312; 
lean_dec(x_1);
x_311 = lean_get_stdin();
x_312 = l_IO_FS_Stream_lines(x_311);
if (lean_obj_tag(x_312) == 0)
{
lean_object* x_313; 
x_313 = lean_ctor_get(x_312, 0);
lean_inc(x_313);
lean_dec_ref(x_312);
x_22 = x_313;
x_23 = lean_box(0);
goto block_33;
}
else
{
uint8_t x_314; 
x_314 = !lean_is_exclusive(x_312);
if (x_314 == 0)
{
return x_312;
}
else
{
lean_object* x_315; lean_object* x_316; 
x_315 = lean_ctor_get(x_312, 0);
lean_inc(x_315);
lean_dec(x_312);
x_316 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_316, 0, x_315);
return x_316;
}
}
}
}
}
}
case 1:
{
lean_object* x_317; lean_object* x_318; 
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec(x_34);
lean_dec(x_1);
x_317 = lean_array_to_list(x_35);
x_318 = l_Lean_Server_Watchdog_watchdogMain(x_317);
return x_318;
}
default: 
{
lean_object* x_319; 
lean_dec_ref(x_51);
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_47);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_44);
lean_dec_ref(x_35);
lean_dec(x_1);
x_319 = l_Lean_Server_FileWorker_workerMain(x_34);
return x_319;
}
}
}
block_330:
{
lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; 
x_322 = l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16;
x_323 = l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_shellMain_spec__4(x_34, x_322);
x_324 = lean_unsigned_to_nat(0u);
x_325 = lean_nat_dec_eq(x_323, x_324);
if (x_325 == 0)
{
size_t x_326; size_t x_327; size_t x_328; lean_object* x_329; 
x_326 = lean_usize_of_nat(x_323);
lean_dec(x_323);
x_327 = 1000;
x_328 = lean_usize_mul(x_326, x_327);
x_329 = lean_internal_set_max_heartbeat(x_328);
x_309 = lean_box(0);
goto block_320;
}
else
{
lean_dec(x_323);
x_309 = lean_box(0);
goto block_320;
}
}
}
}
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0(x_1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_6);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_9;
}
}
LEAN_EXPORT lean_object* l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_IO_eprintln___at___00__private_Lean_Shell_0__Lean_shellMain_spec__1(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_IO_println___at___00__private_Lean_Shell_0__Lean_shellMain_spec__5___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_IO_println___at___00__private_Lean_Shell_0__Lean_shellMain_spec__5(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_IO_ofExcept___at___00__private_Lean_Shell_0__Lean_shellMain_spec__0___redArg(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_shellMain_spec__4___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Option_get___at___00__private_Lean_Shell_0__Lean_shellMain_spec__4(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Shell_0__Lean_shellMain_spec__3___redArg(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_shellMain___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_shell_main(x_1, x_2);
return x_4;
}
}
lean_object* initialize_Lean_Elab_Frontend(uint8_t builtin);
lean_object* initialize_Lean_Elab_ParseImportsFast(uint8_t builtin);
lean_object* initialize_Lean_Server_Watchdog(uint8_t builtin);
lean_object* initialize_Lean_Server_FileWorker(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_EmitC(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Shell(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Elab_Frontend(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Elab_ParseImportsFast(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Server_Watchdog(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Server_FileWorker(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Compiler_IR_EmitC(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__0 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__0);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__1 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__1);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__2 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__2();
l___private_Lean_Shell_0__Lean_shortVersionString___closed__3 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__3();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__3);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__4 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__4();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__4);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__5 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__5();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__5);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__6 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__6();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__6);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__7 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__7();
l___private_Lean_Shell_0__Lean_shortVersionString___closed__8 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__8();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__8);
l___private_Lean_Shell_0__Lean_shortVersionString___closed__9 = _init_l___private_Lean_Shell_0__Lean_shortVersionString___closed__9();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString___closed__9);
l___private_Lean_Shell_0__Lean_shortVersionString = _init_l___private_Lean_Shell_0__Lean_shortVersionString();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shortVersionString);
l___private_Lean_Shell_0__Lean_versionHeader___closed__0 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__0);
l___private_Lean_Shell_0__Lean_versionHeader___closed__1 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__1);
l___private_Lean_Shell_0__Lean_versionHeader___closed__2 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__2);
l___private_Lean_Shell_0__Lean_versionHeader___closed__3 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__3();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__3);
l___private_Lean_Shell_0__Lean_versionHeader___closed__4 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__4();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__4);
l___private_Lean_Shell_0__Lean_versionHeader___closed__5 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__5();
l___private_Lean_Shell_0__Lean_versionHeader___closed__6 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__6();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__6);
l___private_Lean_Shell_0__Lean_versionHeader___closed__7 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__7();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__7);
l___private_Lean_Shell_0__Lean_versionHeader___closed__8 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__8();
l___private_Lean_Shell_0__Lean_versionHeader___closed__9 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__9();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__9);
l___private_Lean_Shell_0__Lean_versionHeader___closed__10 = _init_l___private_Lean_Shell_0__Lean_versionHeader___closed__10();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader___closed__10);
l___private_Lean_Shell_0__Lean_versionHeader = _init_l___private_Lean_Shell_0__Lean_versionHeader();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_versionHeader);
l___private_Lean_Shell_0__Lean_featuresString___closed__0 = _init_l___private_Lean_Shell_0__Lean_featuresString___closed__0();
l___private_Lean_Shell_0__Lean_featuresString___closed__1 = _init_l___private_Lean_Shell_0__Lean_featuresString___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_featuresString___closed__1);
l___private_Lean_Shell_0__Lean_featuresString___closed__2 = _init_l___private_Lean_Shell_0__Lean_featuresString___closed__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_featuresString___closed__2);
l___private_Lean_Shell_0__Lean_featuresString = _init_l___private_Lean_Shell_0__Lean_featuresString();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_featuresString);
l___private_Lean_Shell_0__Lean_displayHelp___closed__0 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__0);
l___private_Lean_Shell_0__Lean_displayHelp___closed__1 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__1);
l___private_Lean_Shell_0__Lean_displayHelp___closed__2 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__2);
l___private_Lean_Shell_0__Lean_displayHelp___closed__3 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__3();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__3);
l___private_Lean_Shell_0__Lean_displayHelp___closed__4 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__4();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__4);
l___private_Lean_Shell_0__Lean_displayHelp___closed__5 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__5();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__5);
l___private_Lean_Shell_0__Lean_displayHelp___closed__6 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__6();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__6);
l___private_Lean_Shell_0__Lean_displayHelp___closed__7 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__7();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__7);
l___private_Lean_Shell_0__Lean_displayHelp___closed__8 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__8();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__8);
l___private_Lean_Shell_0__Lean_displayHelp___closed__9 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__9();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__9);
l___private_Lean_Shell_0__Lean_displayHelp___closed__10 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__10();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__10);
l___private_Lean_Shell_0__Lean_displayHelp___closed__11 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__11();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__11);
l___private_Lean_Shell_0__Lean_displayHelp___closed__12 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__12();
l___private_Lean_Shell_0__Lean_displayHelp___closed__13 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__13();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__13);
l___private_Lean_Shell_0__Lean_displayHelp___closed__14 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__14();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__14);
l___private_Lean_Shell_0__Lean_displayHelp___closed__15 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__15();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__15);
l___private_Lean_Shell_0__Lean_displayHelp___closed__16 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__16();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__16);
l___private_Lean_Shell_0__Lean_displayHelp___closed__17 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__17();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__17);
l___private_Lean_Shell_0__Lean_displayHelp___closed__18 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__18();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__18);
l___private_Lean_Shell_0__Lean_displayHelp___closed__19 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__19();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__19);
l___private_Lean_Shell_0__Lean_displayHelp___closed__20 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__20();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__20);
l___private_Lean_Shell_0__Lean_displayHelp___closed__21 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__21();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__21);
l___private_Lean_Shell_0__Lean_displayHelp___closed__22 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__22();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__22);
l___private_Lean_Shell_0__Lean_displayHelp___closed__23 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__23();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__23);
l___private_Lean_Shell_0__Lean_displayHelp___closed__24 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__24();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__24);
l___private_Lean_Shell_0__Lean_displayHelp___closed__25 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__25();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__25);
l___private_Lean_Shell_0__Lean_displayHelp___closed__26 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__26();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__26);
l___private_Lean_Shell_0__Lean_displayHelp___closed__27 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__27();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__27);
l___private_Lean_Shell_0__Lean_displayHelp___closed__28 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__28();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__28);
l___private_Lean_Shell_0__Lean_displayHelp___closed__29 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__29();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__29);
l___private_Lean_Shell_0__Lean_displayHelp___closed__30 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__30();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__30);
l___private_Lean_Shell_0__Lean_displayHelp___closed__31 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__31();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__31);
l___private_Lean_Shell_0__Lean_displayHelp___closed__32 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__32();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__32);
l___private_Lean_Shell_0__Lean_displayHelp___closed__33 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__33();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__33);
l___private_Lean_Shell_0__Lean_displayHelp___closed__34 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__34();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__34);
l___private_Lean_Shell_0__Lean_displayHelp___closed__35 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__35();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__35);
l___private_Lean_Shell_0__Lean_displayHelp___closed__36 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__36();
l___private_Lean_Shell_0__Lean_displayHelp___closed__37 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__37();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__37);
l___private_Lean_Shell_0__Lean_displayHelp___closed__38 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__38();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__38);
l___private_Lean_Shell_0__Lean_displayHelp___closed__39 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__39();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__39);
l___private_Lean_Shell_0__Lean_displayHelp___closed__40 = _init_l___private_Lean_Shell_0__Lean_displayHelp___closed__40();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_displayHelp___closed__40);
l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__5_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__5_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__5_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__6_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__6_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__6_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__7_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__7_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__7_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__8_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__8_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__8_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__9_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__9_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__9_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__10_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__10_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__10_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__11_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__12_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__12_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__12_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__13_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__13_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__13_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_);
if (builtin) {res = l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_3125322801____hygCtx___hyg_2_();
if (lean_io_result_is_error(res)) return res;
l___private_Lean_Shell_0__Lean_maxMemory = lean_io_result_get_value(res);
lean_mark_persistent(l___private_Lean_Shell_0__Lean_maxMemory);
lean_dec_ref(res);
}l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_);
if (builtin) {res = l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1197438456____hygCtx___hyg_2_();
if (lean_io_result_is_error(res)) return res;
l___private_Lean_Shell_0__Lean_timeout = lean_io_result_get_value(res);
lean_mark_persistent(l___private_Lean_Shell_0__Lean_timeout);
lean_dec_ref(res);
}l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__0_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__1_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__2_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__3_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_);
l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_ = _init_l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_initFn___closed__4_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_);
if (builtin) {res = l___private_Lean_Shell_0__Lean_initFn_00___x40_Lean_Shell_1212703299____hygCtx___hyg_2_();
if (lean_io_result_is_error(res)) return res;
l___private_Lean_Shell_0__Lean_verbose = lean_io_result_get_value(res);
lean_mark_persistent(l___private_Lean_Shell_0__Lean_verbose);
lean_dec_ref(res);
}l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__0 = _init_l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__0();
l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__1 = _init_l___private_Lean_Shell_0__Lean_defaultTrustLevel___closed__1();
l___private_Lean_Shell_0__Lean_defaultTrustLevel = _init_l___private_Lean_Shell_0__Lean_defaultTrustLevel();
l___private_Lean_Shell_0__Lean_defaultNumThreads___closed__0 = _init_l___private_Lean_Shell_0__Lean_defaultNumThreads___closed__0();
l___private_Lean_Shell_0__Lean_defaultNumThreads = _init_l___private_Lean_Shell_0__Lean_defaultNumThreads();
l___private_Lean_Shell_0__Lean_mkShellOptions___closed__0 = _init_l___private_Lean_Shell_0__Lean_mkShellOptions___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_mkShellOptions___closed__0);
l___private_Lean_Shell_0__Lean_mkShellOptions___closed__1 = _init_l___private_Lean_Shell_0__Lean_mkShellOptions___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_mkShellOptions___closed__1);
l___private_Lean_Shell_0__Lean_mkShellOptions___closed__2 = _init_l___private_Lean_Shell_0__Lean_mkShellOptions___closed__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_mkShellOptions___closed__2);
l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_getProfiler___closed__0);
l___private_Lean_Shell_0__Lean_checkOptArg___closed__0 = _init_l___private_Lean_Shell_0__Lean_checkOptArg___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_checkOptArg___closed__0);
l___private_Lean_Shell_0__Lean_checkOptArg___closed__1 = _init_l___private_Lean_Shell_0__Lean_checkOptArg___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_checkOptArg___closed__1);
l___private_Lean_Shell_0__Lean_setConfigOption___closed__0 = _init_l___private_Lean_Shell_0__Lean_setConfigOption___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_setConfigOption___closed__0);
l___private_Lean_Shell_0__Lean_setConfigOption___closed__1 = _init_l___private_Lean_Shell_0__Lean_setConfigOption___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_setConfigOption___closed__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_eprint___closed__0);
l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__0);
l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___closed__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed__const__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed__const__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___boxed__const__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed__const__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed__const__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_liftIO___redArg___boxed__const__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__0 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__0);
l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___closed__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed__const__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed__const__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_throwExpectedNumeric___boxed__const__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__0 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__0);
l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___closed__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed__const__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed__const__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process_throwTooLarge___boxed__const__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__0 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__0();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__0);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__2 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__2);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__3 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__3();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__3);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__4);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__5 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__5();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__5);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__6);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__7 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__7();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__7);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__8 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__8();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__8);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__9);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__10 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__10();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__10);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__11 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__11();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__11);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__12 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__12();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__12);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__13);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__14 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__14();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__14);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__15 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__15();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__15);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__16);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__17);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__18 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__18();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__18);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__19 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__19();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__19);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__20);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__21);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__22 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__22();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__22);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__23 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__23();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__23);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__24);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__25 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__25();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__25);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__26 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__26();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__26);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__27 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__27();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__27);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__28 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__28();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__28);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__29 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__29();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__29);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__30);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__31 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__31();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__31);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__32 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__32();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__32);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__33 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__33();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__33);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__34 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__34();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__34);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__35 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__35();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__35);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__36);
l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__37 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__37();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___closed__37);
l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__1);
l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2 = _init_l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_ShellOptions_process___boxed__const__2);
l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__0 = _init_l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__0();
lean_mark_persistent(l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__0);
l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__1 = _init_l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__1();
lean_mark_persistent(l_String_dropPrefix_x3f___at___00__private_Lean_Shell_0__Lean_shellMain_spec__2___redArg___closed__1);
l___private_Lean_Shell_0__Lean_shellMain___closed__0 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__0();
l___private_Lean_Shell_0__Lean_shellMain___closed__1 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__1);
l___private_Lean_Shell_0__Lean_shellMain___closed__2 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__2);
l___private_Lean_Shell_0__Lean_shellMain___closed__3 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__3();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__3);
l___private_Lean_Shell_0__Lean_shellMain___closed__4 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__4();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__4);
l___private_Lean_Shell_0__Lean_shellMain___closed__5 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__5();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__5);
l___private_Lean_Shell_0__Lean_shellMain___closed__6 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__6();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__6);
l___private_Lean_Shell_0__Lean_shellMain___closed__7 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__7();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__7);
l___private_Lean_Shell_0__Lean_shellMain___closed__8 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__8();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__8);
l___private_Lean_Shell_0__Lean_shellMain___closed__9 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__9();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__9);
l___private_Lean_Shell_0__Lean_shellMain___closed__10 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__10();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__10);
l___private_Lean_Shell_0__Lean_shellMain___closed__11 = _init_l___private_Lean_Shell_0__Lean_shellMain___closed__11();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___closed__11);
l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1 = _init_l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___boxed__const__1);
l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2 = _init_l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2();
lean_mark_persistent(l___private_Lean_Shell_0__Lean_shellMain___boxed__const__2);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
